[PATCH] help with memory leaks in solid

Dirk Mueller mueller at kde.org
Tue Apr 15 15:52:02 BST 2008


Hi, 

while trying to debug the knotify4 mess (ref. kde-optimize@) I've noticed that 
a large chunk of its memory leaks come from solid. I think we should improve 
on that. 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()

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

Thanks,
Dirk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solid-leaks.diff
Type: text/x-diff
Size: 1010 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080415/b765f42e/attachment.diff>


More information about the kde-core-devel mailing list