Bugzilla bug 404919: sftkdb_ReadSecmodDB should free the string returned

by sftk_getOldSecmodName.  The patch is contributed by Boying Lu
<brian.lu@sun.com>.  r=wtc


git-svn-id: svn://10.0.0.236/trunk@240022 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%google.com 2007-11-28 02:40:30 +00:00
parent 3c44f9d605
commit c766d83b03

View File

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