SOURCES: python-adns-free.patch (NEW) - correctly free object.

arekm arekm at pld-linux.org
Mon Jan 8 13:20:23 CET 2007


Author: arekm                        Date: Mon Jan  8 12:20:23 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- correctly free object.

---- Files affected:
SOURCES:
   python-adns-free.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/python-adns-free.patch
diff -u /dev/null SOURCES/python-adns-free.patch:1.1
--- /dev/null	Mon Jan  8 13:20:23 2007
+++ SOURCES/python-adns-free.patch	Mon Jan  8 13:20:18 2007
@@ -0,0 +1,12 @@
+diff -urN adns-python-1.2.0.org/adnsmodule.c adns-python-1.2.0/adnsmodule.c
+--- adns-python-1.2.0.org/adnsmodule.c	2006-12-31 18:25:29.000000000 +0100
++++ adns-python-1.2.0/adnsmodule.c	2007-01-08 13:18:16.623624500 +0100
+@@ -719,7 +719,7 @@
+ 	adns_finish(self->state);
+ 	Py_END_ALLOW_THREADS;
+ 	Py_INCREF(Py_None);
+-	PyMem_DEL(self);
++	PyObject_Free(self);
+ }
+ 
+ static char ADNS_Statetype__doc__[] = 
================================================================


More information about the pld-cvs-commit mailing list