diff options
author | ian.mcgreer%sun.com <devnull@localhost> | 2002-02-05 22:08:12 +0000 |
---|---|---|
committer | ian.mcgreer%sun.com <devnull@localhost> | 2002-02-05 22:08:12 +0000 |
commit | 6907e5fcec0ba2043195f17ff0cf4455b914e22d (patch) | |
tree | b4e77e9b4cb9636e895fd7824841cd82d19b415e | |
parent | 47353d412abbda51934f61d895502306026d6e0c (diff) | |
download | nss-hg-6907e5fcec0ba2043195f17ff0cf4455b914e22d.tar.gz |
some of the output in bug 123081 shows potential leaks around iterators, since the iterator is explicitly freed allocate it in its own block to avoid this
-rw-r--r-- | security/nss/lib/base/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/base/list.c b/security/nss/lib/base/list.c index e3903c989..89aadf283 100644 --- a/security/nss/lib/base/list.c +++ b/security/nss/lib/base/list.c @@ -353,7 +353,7 @@ NSS_IMPLEMENT nssListIterator * nssList_CreateIterator(nssList *list) { nssListIterator *rvIterator; - rvIterator = nss_ZNEW(list->arena, nssListIterator); + rvIterator = nss_ZNEW(NULL, nssListIterator); if (!rvIterator) { return NULL; } |