[Plib-users] Possible memory leak in ssgLoadSGI.cxx
Brought to you by:
sjbaker
|
From: Tyler O. <tyl...@gm...> - 2006-05-26 02:41:21
|
In the ssgSGIHeader::openFile function, the member variable rle_temp is
allocated. This is not cleaned up anywhere. I added the following to the
ssgSGIHeader deconstructor and my app seems to still run ok.
if (rle_temp !=3D NULL)
delete [] rle_temp;
--=20
Tyler Ohlsen
Tyl...@gm...
|