summaryrefslogtreecommitdiff
path: root/python/configuration.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-10-04 16:58:34 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-10-04 16:58:34 +0200
commitbbaa2f9da7a2df23dcb45a5c59bbd5ef9d65c392 (patch)
treed4f59944de41d97ae508ed847858f13018c65788 /python/configuration.cc
parent05ac4479d4a37ca55e892c588bcb217fa21ba20a (diff)
parent722f0d8b1a276f2f069fc090db2365ae2659fac9 (diff)
downloadpython-apt-bbaa2f9da7a2df23dcb45a5c59bbd5ef9d65c392.tar.gz
* fix incorrect PyMem_DEL() code
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