Fixed crashing bug in nsJAR.cpp - was dereferencing unallocated pointer. r=norris

This commit is contained in:
mstoltz%netscape.com 2000-02-02 01:58:37 +00:00
parent 077215e7b4
commit 522dcf664a

View File

@ -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.