summaryrefslogtreecommitdiff
path: root/ext/session/mod_user.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-02-27 20:16:35 +0000
committerAndi Gutmans <andi@php.net>2001-02-27 20:16:35 +0000
commit01ed33d1b610084d7bdd206613b3351133a78e0b (patch)
tree7966b2b36625483bab43ab022b69c694eec8d777 /ext/session/mod_user.c
parent5e5f5886ff095cb0efdcfcd531deaff28f6a75bc (diff)
downloadphp-git-01ed33d1b610084d7bdd206613b3351133a78e0b.tar.gz
- Pointed out by Andrei. zval_ptr_dtor() should be used instead of the
zval_del_ref() function which should be nuked.
Diffstat (limited to 'ext/session/mod_user.c')
-rw-r--r--ext/session/mod_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c
index c36a7b57f5..7064908f93 100644
--- a/ext/session/mod_user.c
+++ b/ext/session/mod_user.c
@@ -107,7 +107,7 @@ PS_CLOSE_FUNC(user)
retval = ps_call_handler(PSF(close), 0, NULL);
for (i = 0; i < 6; i++)
- zval_del_ref(&mdata->names[i]);
+ zval_ptr_dtor(&mdata->names[i]);
efree(mdata);
PS_SET_MOD_DATA(NULL);