[PATCH] kdelibs: Memory leaks (d-pointer not deleted) fixed

David Faure faure at kde.org
Thu Oct 28 12:45:55 BST 2004


On Thursday 28 October 2004 13:18, Thiago Macieira wrote:
> Dirk Mueller wrote:
> >On Thursday 28 October 2004 10:39, Andre Eisenbach wrote:
> >> This patch adds code to delete d-pointers used in various classes
> >> inside kdelibs.
> >
> >Not all occurences are correct. Some of the d-pointers are deleted by
> >KStaticDeleter or by KSharedPtr.
> 
> There's also the case of KCharSelect, in which the destructor is now added, 
> instead of the implicit one. That doesn't break binary compatibility, but 
> old code will not see the improvement.

Which isn't a big problem. You can't change the past, but you can improve the future.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list