diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-10 18:06:41 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-10 18:06:41 +0200 |
| commit | c0818a4cdadb30ccb2ea9d63a6e81fa1a39394d6 (patch) | |
| tree | f645e65c525c686718f40511b7ddde1cb716d843 /python/tag.cc | |
| parent | 7d12f1ce6bc839f27604782bc712a0ccb481f2b2 (diff) | |
| download | python-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
