diff --git a/mozilla/security/nss/lib/softoken/sftkmod.c b/mozilla/security/nss/lib/softoken/sftkmod.c index 8f4d61908d9..408270bdd09 100644 --- a/mozilla/security/nss/lib/softoken/sftkmod.c +++ b/mozilla/security/nss/lib/softoken/sftkmod.c @@ -431,8 +431,11 @@ done: /* done with the old module list */ sftkdbCall_ReleaseSecmodDBData(appName, filename, olddbname, oldModuleList, rw); - } bail: + if (olddbname) { + PR_smprintf_free(olddbname); + } + } if (!moduleList[0]) { char * newParams;