[Digikam-devel] Re: delete does not reset the pointer in GCC (4.6.0)
Marcel Wiesweg
marcel.wiesweg at gmx.de
Wed Jun 15 09:30:56 BST 2011
> some time ago we removed all lines that looked like that
>
> delete xyz;
> xyz = 0;
Are you really sure about this? I hope not. Because I would agree that crashes immediately...
Didnt we change
if (xyz) delete xyz;
to
delete xyz;
?
--
NEU: FreePhone - kostenlos mobil telefonieren!
Jetzt informieren: http://www.gmx.net/de/go/freephone
More information about the Digikam-devel
mailing list