зеркало из https://github.com/mozilla/pjs.git
Fixed crashing bug in nsJAR.cpp - was dereferencing unallocated pointer. r=norris
This commit is contained in:
Родитель
33724881db
Коммит
f1a821abf0
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче