here it is
diff -u pyao-0.82/debian/changelog pyao-0.82/debian/changelog
--- pyao-0.82/debian/changelog
+++ pyao-0.82/debian/changelog
@@ -1,3 +1,10 @@
+pyao (0.82-1.3) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * Fix python memory handling. Closes: #468985.
+
+ -- Thomas Viehmann <[EMAIL PROTECTED]> Tue, 04 Mar 2008 23:12:54 +0100
+
pyao (0.82-1.2) unstable; urgency=low
* Add build dependency on python-central.
only in patch2:
unchanged:
--- pyao-0.82.orig/src/aomodule.c
+++ pyao-0.82/src/aomodule.c
@@ -141,7 +141,7 @@
return NULL;
}
- retobj = (ao_Object *) PyObject_NEW(ao_Object, &ao_Type);
+ retobj = (ao_Object *) PyObject_New(ao_Object, &ao_Type);
retobj->dev = dev;
return (PyObject *) retobj;
}
@@ -150,7 +150,7 @@
py_ao_dealloc(ao_Object *self)
{
ao_close(self->dev);
- PyMem_DEL(self);
+ PyObject_Del(self);
}
static PyObject *