summaryrefslogtreecommitdiff
path: root/python/configuration.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-10-04 17:00:42 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-10-04 17:00:42 +0200
commit053d66916010f0f4e2b234c6bbd93e0afe79631e (patch)
treed508aa1585179f74873a624192a9d245070227df /python/configuration.cc
parent9e5bfd3bc00a88094e6d16dcce6f50a0f51a5ee6 (diff)
downloadpython-apt-053d66916010f0f4e2b234c6bbd93e0afe79631e.tar.gz
* python/configuration.cc:
- and the final(!?!) incorrect PyMem_{DEL,Free} usage
Diffstat (limited to 'python/configuration.cc')
-rw-r--r--python/configuration.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/configuration.cc b/python/configuration.cc
index 6cf33581..55eac1bf 100644
--- a/python/configuration.cc
+++ b/python/configuration.cc
@@ -490,7 +490,7 @@ PyTypeObject ConfigurationPtrType =
sizeof(CppPyObject<Configuration *>), // tp_basicsize
0, // tp_itemsize
// Methods
- (destructor)PyMem_Free, // tp_dealloc
+ (destructor)PyObject_Free, // tp_dealloc
0, // tp_print
CnfGetAttr, // tp_getattr
0, // tp_setattr