ItemRepository bucket memory leak

Peter Oberndorfer kumbayo84 at arcor.de
Fri Jun 12 16:19:24 UTC 2009


Running valgrind on some duchain tests it seems Buckets are leaked in ItemRepository::close()

Attached patch should fix this.

A question if i understood it correctly:
m_fastBuckets is just for being able to access buckets in m_buckets fast without any function call.

Please review,
Thanks
Greetings Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-delete-buckets-on-ItemRepository-destruction.patch
Type: text/x-diff
Size: 810 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090612/57a38d72/attachment.bin>


More information about the KDevelop-devel mailing list