summaryrefslogtreecommitdiff
path: root/lib/freebl/loader.c
diff options
context:
space:
mode:
authorTim Taubert <ttaubert@mozilla.com>2016-10-26 14:35:36 +0200
committerTim Taubert <ttaubert@mozilla.com>2016-10-26 14:35:36 +0200
commit427a242fe2eed8c2c94ea55f0f512e10cc926f11 (patch)
tree43231c0123f3dbb374897e7ad6b7dac32db73795 /lib/freebl/loader.c
parent3b02dff2c6a6a29650eda678579c8b69f7acb373 (diff)
downloadnss-hg-427a242fe2eed8c2c94ea55f0f512e10cc926f11.tar.gz
Bug 1312964 - Add linux64-fuzz to TC and run *Fuzz* gtests r=franziskus
Differential Revision: https://nss-dev.phacility.com/D122
Diffstat (limited to 'lib/freebl/loader.c')
-rw-r--r--lib/freebl/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/freebl/loader.c b/lib/freebl/loader.c
index 3239d73a6..84876c12c 100644
--- a/lib/freebl/loader.c
+++ b/lib/freebl/loader.c
@@ -814,7 +814,7 @@ BL_Unload(void)
char *disableUnload = NULL;
vector = NULL;
disableUnload = PR_GetEnvSecure("NSS_DISABLE_UNLOAD");
- if (!disableUnload) {
+ if (blLib && !disableUnload) {
#ifdef DEBUG
PRStatus status = PR_UnloadLibrary(blLib);
PORT_Assert(PR_SUCCESS == status);