diff options
author | Tim Taubert <ttaubert@mozilla.com> | 2016-06-27 12:56:34 +0200 |
---|---|---|
committer | Tim Taubert <ttaubert@mozilla.com> | 2016-06-27 12:56:34 +0200 |
commit | aa771e6b0e23eb5253cc1bcd2e736f6112f5c28e (patch) | |
tree | 9548385b3710528ad27b6ad78661936f8b6fa213 /cmd/pk12util | |
parent | 1de5f48487b4f9667a38ac70edcb8733d44efcae (diff) | |
download | nss-hg-aa771e6b0e23eb5253cc1bcd2e736f6112f5c28e.tar.gz |
Bug 1281724 - Various leak fixes in utility commands r=franziskus
Diffstat (limited to 'cmd/pk12util')
-rw-r--r-- | cmd/pk12util/pk12util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/pk12util/pk12util.c b/cmd/pk12util/pk12util.c index 43ddd1874..f8f8370f3 100644 --- a/cmd/pk12util/pk12util.c +++ b/cmd/pk12util/pk12util.c @@ -1089,6 +1089,10 @@ main(int argc, char **argv) } done: + if (import_file != NULL) + PORT_ZFree(import_file, PL_strlen(import_file)); + if (export_file != NULL) + PORT_ZFree(export_file, PL_strlen(export_file)); if (slotPw.data != NULL) PORT_ZFree(slotPw.data, PL_strlen(slotPw.data)); if (p12FilePw.data != NULL) |