diff options
author | Marcus Burghardt <mburghardt@mozilla.com> | 2019-10-22 14:39:27 +0000 |
---|---|---|
committer | Marcus Burghardt <mburghardt@mozilla.com> | 2019-10-22 14:39:27 +0000 |
commit | f632ad717c82e6e9ef37e5aa221932d0aa26414f (patch) | |
tree | e499336ce08ed0b8def06b9db13afe5760d80062 /cmd | |
parent | 9a494e9af4c230979c44c99caf850b24cd06ac67 (diff) | |
download | nss-hg-f632ad717c82e6e9ef37e5aa221932d0aa26414f.tar.gz |
Bug 1590339 - Fix MemoryLeak in btoa.c. r=kjacobs
Differential Revision: https://phabricator.services.mozilla.com/D50042
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/btoa/btoa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/btoa/btoa.c b/cmd/btoa/btoa.c index aeff0671f..f82341325 100644 --- a/cmd/btoa/btoa.c +++ b/cmd/btoa/btoa.c @@ -211,5 +211,8 @@ loser: if (outFile && closeOut) { fclose(outFile); } + if (suffix) { + PORT_Free(suffix); + } return exitCode; } |