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

Benjamin Meyer ben at meyerhome.net
Fri Oct 29 02:31:37 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 28 October 2004 6:10 am, Stephan Kulow wrote:
> Am Thursday 28 October 2004 10:39 schrieb Andre Eisenbach:
> > Hi!
> >
> > Yet another patch for problems detected from the automated test script
> > posted on dot.kde.org.
> >
> > This patch adds code to delete d-pointers used in various classes
> > inside kdelibs.
>
> But why do you assign NULL to it? Just wait till Benjamin adds a patch
> that forbids NULL in C++ code because some book says so :)
>
> Greetings, Stephan

heh, well if you really want I can add a script to check for source code that 
doesn't have a \n before eof.  

Not having a new-line char at the end of file breaks .h files with the Sun 
WorkShop compiler and it breaks .cpp files on HP. 

nah that would just be evil.

- -Benjamin Meyer

- -- 
aka icefox
Public Key: http://www.csh.rit.edu/~benjamin/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBgZ151rZ3LTw38vIRAv+sAJ98EJ36ITMTeKpgNxIhUVMoUCohDQCdFC+4
569tu0u4ZjqQtCPls1UvmB8=
=NV/5
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list