diff options
author | Franziskus Kiefer <franziskuskiefer@gmail.com> | 2015-10-20 14:59:48 +0200 |
---|---|---|
committer | Franziskus Kiefer <franziskuskiefer@gmail.com> | 2015-10-20 14:59:48 +0200 |
commit | 3fd18ecd69c461d30f9d4448a0a0dbe0390302ef (patch) | |
tree | f4c9575978c5898f38c900656e0d2596a02d6c57 | |
parent | 84679402948f9861300f59f80ec40966bde004c2 (diff) | |
download | nss-hg-3fd18ecd69c461d30f9d4448a0a0dbe0390302ef.tar.gz |
Bug 1208405 - [CID 222169] leaked_storage: Variable fwObject going out of scope leaks the storage it points to, r=mt
-rw-r--r-- | lib/ckfw/object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ckfw/object.c b/lib/ckfw/object.c index bc8291794..661977e6d 100644 --- a/lib/ckfw/object.c +++ b/lib/ckfw/object.c @@ -171,6 +171,7 @@ nssCKFWObject_Create if( CKR_OK == *pError ) { *pError = CKR_GENERAL_ERROR; } + nss_ZFreeIf(fwObject); return (NSSCKFWObject *)NULL; } |