possible memleaks in libkabc
tokoe at kde.org
Thu Oct 12 16:43:01 BST 2006
On Thu, Oct 12, 2006 at 02:38:23PM +0200, Christian Spiel wrote:
> 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
> its destructor.
> 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
Thank you very much, I've applyed it to KDE3 branch. I think the bug
didn't appeared earlier since this code isn't used anymore and just
exists for binary compatible reasons.
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the kde-core-devel