[wx-dev] Possible memory leak in src/common/imagtga.cpp

ABX abx at abx.art.pl
Mon Nov 27 01:23:13 PST 2006


Vadim Zeitlin <vadim at wxwindows.org>:
> > In ReadTGA() there are a couple of returns after allocating 'imageData'
> > but only final function exit provides 'free(imageData);'.
>
> Indeed, thanks. Added wxON_BLOCK_EXIT(free, imageData) to ensure that this
> is done always now.

Thanks, but.... commited? :)

ABX




More information about the wx-dev mailing list