summaryrefslogtreecommitdiff
path: root/ext/oci8
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/oci8
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/oci8')
-rw-r--r--ext/oci8/oci8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index c19d4db669..cff8178e3a 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -509,7 +509,7 @@ _oci_define_hash_dtor(void *data)
oci_debug("_oci_define_hash_dtor: %s",define->name);
- zval_del_ref(&define->zval);
+ zval_ptr_dtor(&define->zval);
if (define->name) {
efree(define->name);
@@ -527,7 +527,7 @@ _oci_bind_hash_dtor(void *data)
oci_debug("_oci_bind_hash_dtor:");
- zval_del_ref(&(bind->zval));
+ zval_ptr_dtor(&(bind->zval));
}
/* }}} */