211010 Memory leak of 576 bytes from 3 blocks allocated in PR_Malloc

r=pavlov sr=tor


git-svn-id: svn://10.0.0.236/trunk@144246 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2003-06-28 23:29:11 +00:00
parent 3da21d6618
commit 6a648c8c5b

View File

@@ -21,6 +21,8 @@
* Chris Saari <saari@netscape.com>
*/
#include "prmem.h"
#include "nsGIFDecoder2.h"
#include "nsIInputStream.h"
#include "nsIComponentManager.h"
@@ -351,7 +353,7 @@ int nsGIFDecoder2::EndImageFrame(
}
decoder->mImageFrame = nsnull;
decoder->mGIFStruct->local_colormap = nsnull;
PR_FREEIF(decoder->mGIFStruct->local_colormap);
decoder->mGIFStruct->is_transparent = PR_FALSE;
return 0;
}