summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/cache.cc b/python/cache.cc
index a571788f..a9c1a557 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -285,7 +285,7 @@ static PyObject *PkgCacheNew(PyTypeObject *type,PyObject *Args,PyObject *kwds)
CppOwnedPyObject_NEW<pkgCache *>(CacheFileObj,type,
(pkgCache *)(*Cache));
- //Py_DECREF(CacheFileObj);
+ Py_DECREF(CacheFileObj);
return CacheObj;
}