diff options
author | roeber%netscape.com <devnull@localhost> | 2000-04-19 21:23:13 +0000 |
---|---|---|
committer | roeber%netscape.com <devnull@localhost> | 2000-04-19 21:23:13 +0000 |
commit | c0a6f6cea5a2d96e65797314834a1464a260b3d1 (patch) | |
tree | 3924bbbd2cbbd47e87f274c812681cb4f68f3823 /security/nss/lib/base/arena.c | |
parent | 21ab5a7c3fcebe9798584e32c6e8ac97cc326663 (diff) | |
download | nss-hg-c0a6f6cea5a2d96e65797314834a1464a260b3d1.tar.gz |
Free from the beginning of the real block pointer, not the user's pointer.
Diffstat (limited to 'security/nss/lib/base/arena.c')
-rw-r--r-- | security/nss/lib/base/arena.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/base/arena.c b/security/nss/lib/base/arena.c index c40df45b8..ce192d719 100644 --- a/security/nss/lib/base/arena.c +++ b/security/nss/lib/base/arena.c @@ -948,7 +948,7 @@ nss_ZFreeIf if( (NSSArena *)NULL == h->arena ) { /* Heap */ (void)nsslibc_memset(pointer, 0, h->size); - PR_Free(pointer); + PR_Free(h); return PR_SUCCESS; } else { /* Arena */ |