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

Thiago Macieira thiago.macieira at kdemail.net
Thu Oct 28 12:18:17 BST 2004


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.

-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiago (AT) macieira (DOT) info
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041028/c813c03a/attachment.sig>


More information about the kde-core-devel mailing list