diff options
author | wtchang%redhat.com <devnull@localhost> | 2007-02-22 18:16:34 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2007-02-22 18:16:34 +0000 |
commit | eedff18c1a5cd5514a346360b99a7a09fd2935fd (patch) | |
tree | 7ae9fa0dec7133818b5a1761bcb05c18037502e8 | |
parent | f1455ec8f07923dfb51ac787a497fa1bd4190eb2 (diff) | |
download | nss-hg-eedff18c1a5cd5514a346360b99a7a09fd2935fd.tar.gz |
Bugzilla Bug 361089: fixed memory leaks in mp_bdivmod. r=douglas.stebila
sr=relyea
Tag: NSS_3_11_BRANCH
-rw-r--r-- | security/nss/lib/freebl/mpi/mp_gf2m.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/security/nss/lib/freebl/mpi/mp_gf2m.c b/security/nss/lib/freebl/mpi/mp_gf2m.c index 5ce9fed9e..a68e88028 100644 --- a/security/nss/lib/freebl/mpi/mp_gf2m.c +++ b/security/nss/lib/freebl/mpi/mp_gf2m.c @@ -544,6 +544,9 @@ mp_bdivmod(const mp_int *y, const mp_int *x, const mp_int *pp, MP_CHECKOK( mp_copy(u, r) ); CLEANUP: + mp_clear(&aa); + mp_clear(&bb); + mp_clear(&uu); return res; } |