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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user