[Qt-interest] QPainter segmentation fault on Linux
Alexandre Beraud
aberaud at infflux.com
Thu Feb 19 17:48:46 CET 2009
Hi,
I think it is quite a weird way of doing it but it seems correct. It
just replaces the allocated data with a new value.
The risk being that, since you don't call the class destructor on the
previous object, some internal pointers don't get deleted and will
result in memory leaks.
Regards,
Alex
Srdjan Todorovic a écrit :
> I would say so.
> Why are you assigining two different QImages in two different ways for
> qImage variable?
> I'm surprised this hasn't given you a compiler error.
>
> Srdjan
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
--
BERAUD Alexandre
Ingénieur Développement
Infflux - Informatique & Flux
Tel: 01 49 57 92 00 - Fax : 01 49 57 92 01
Mail: aberaud at infflux.com
Visitez notre site : www.infflux.com
More information about the Qt-interest-old
mailing list