mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
Fixed crashing bug in nsJAR.cpp - was dereferencing unallocated pointer. r=norris
This commit is contained in:
parent
077215e7b4
commit
522dcf664a
@ -66,7 +66,7 @@ ziperr2nsresult(PRInt32 ziperr)
|
||||
#define JAR_NULLFREE(_ptr) \
|
||||
{ \
|
||||
PR_FREEIF(_ptr); \
|
||||
*(_ptr) = nsnull; \
|
||||
_ptr = nsnull; \
|
||||
}
|
||||
|
||||
//-- Used by the JAR hashtables to delete their entries.
|
||||
|
Loading…
Reference in New Issue
Block a user