[PATCH] help with memory leaks in solid

Kevin Ottens ervin at kde.org
Tue Apr 15 16:45:37 BST 2008


Le Tuesday 15 April 2008, Dirk Mueller a écrit :
> A preliminary patch is below, which unfortunately causes a
> crash once in a while which I don't understand. the problem should be
> clear: the Private classes are not deleted anywhere, at least when using
> Solid::AudioInterface()

Erm, indeed this missing delete is completely lame and my fault. Sorry about 
that people...

> Where are they supposed to be deleted? Anyone wants to help me
> understanding this part of the Solid architecture?

Well, it looks fine to me, would you care to share a test case to reproduce 
the crash or at least a backtrace?

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080415/370671a0/attachment.sig>


More information about the kde-core-devel mailing list