diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-12 12:46:34 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-12 12:46:34 +0200 |
| commit | 5867a0fb2a56ebe6b42dd794ac70a51036f9159f (patch) | |
| tree | 5791dc439de48f91df89fca880fa1d64b27df3dc /python/cache.cc | |
| parent | 3c8959ed35b026ae57600c7f0b2ed531a98c7c0b (diff) | |
| download | python-apt-5867a0fb2a56ebe6b42dd794ac70a51036f9159f.tar.gz | |
python/cache.cc: Py_DECREF the CacheFile, so it can be deleted.
Diffstat (limited to 'python/cache.cc')
| -rw-r--r-- | python/cache.cc | 2 |
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; } |
