From 199827e05750509afb8ea98d5400552201f5ef16 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 12 Jul 2009 15:46:07 +0200 Subject: python/indexfile.cc: Deallocate the pointer correctly. --- python/indexfile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/indexfile.cc b/python/indexfile.cc index 5b526b87..f2180cd7 100644 --- a/python/indexfile.cc +++ b/python/indexfile.cc @@ -96,7 +96,7 @@ PyTypeObject PackageIndexFileType = 0, // tp_itemsize // Methods // Not ..Ptr, because the pointer is managed somewhere else. - CppOwnedDealloc, // tp_dealloc + CppOwnedDeallocPtr, // tp_dealloc 0, // tp_print 0, // tp_getattr 0, // tp_setattr @@ -112,7 +112,7 @@ PyTypeObject PackageIndexFileType = 0, // tp_setattro 0, // tp_as_buffer Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, // tp_flags - "pkgIndexFile Object", // tp_doc + "IndexFile Object", // tp_doc CppOwnedTraverse, // tp_traverse CppOwnedClear, // tp_clear 0, // tp_richcompare -- cgit v1.2.3