summaryrefslogtreecommitdiff
path: root/security/nss/lib/base/arena.c
diff options
context:
space:
mode:
authorroeber%netscape.com <devnull@localhost>2000-04-19 21:23:13 +0000
committerroeber%netscape.com <devnull@localhost>2000-04-19 21:23:13 +0000
commitc0a6f6cea5a2d96e65797314834a1464a260b3d1 (patch)
tree3924bbbd2cbbd47e87f274c812681cb4f68f3823 /security/nss/lib/base/arena.c
parent21ab5a7c3fcebe9798584e32c6e8ac97cc326663 (diff)
downloadnss-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.c2
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 */