summaryrefslogtreecommitdiff
path: root/python/tag.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-10 18:06:41 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-10 18:06:41 +0200
commitc0818a4cdadb30ccb2ea9d63a6e81fa1a39394d6 (patch)
treef645e65c525c686718f40511b7ddde1cb716d843 /python/tag.cc
parent7d12f1ce6bc839f27604782bc712a0ccb481f2b2 (diff)
downloadpython-apt-c0818a4cdadb30ccb2ea9d63a6e81fa1a39394d6.tar.gz
python/indexrecords.cc: Correctly Decrease refcount for HashString.
Create a copy of the HashString() and create a CppPyObject for it. After adding it to the tuple, decrease the reference count. The HashString() copy allows us to deallocate the indexRecords and does not require the PyHashString objects to be CppOwnedPyObject.
Diffstat (limited to 'python/tag.cc')
0 files changed, 0 insertions, 0 deletions