possible memleaks in libkabc
spiel at theochem.tuwien.ac.at
Thu Oct 12 13:38:23 BST 2006
I think I've found two memleaks in KDE3 branch of kabc in vcard21parser.cpp:
1)In VCard21ParserImpl::parseVCard() a QValueList pointer is created and used
as a parameter to create a VCard21ParserImpl Object - but it is not freed in
2)In VCard21Parser::readFromString() parseVCard is called but the return value
(a ParserImpl Object) is not freed.
I added both delete calls in the attached patch
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 812 bytes
Desc: not available
More information about the kde-core-devel