summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/tag.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tag.cc b/python/tag.cc
index 883a8eab..d0d862c9 100644
--- a/python/tag.cc
+++ b/python/tag.cc
@@ -68,7 +68,7 @@ void TagFileFree(PyObject *Obj)
Self->Object.~pkgTagFile();
Self->Fd.~FileFd();
Py_DECREF(Self->File);
- PyMem_DEL(Obj);
+ PyObject_DEL(Obj);
}
/*}}}*/