cvs: php4 /ext/standard var.c

From: Date: Tue, 07 Nov 2000 15:06:43 +0000
Subject: cvs: php4 /ext/standard var.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2512@lists.php.net to get a copy of this message
stas Tue Nov 7 07:06:43 2000 EDT Modified files: /php4/ext/standard var.c Log: Andi says it should be zval_ptr_dtor Index: php4/ext/standard/var.c diff -u php4/ext/standard/var.c:1.79 php4/ext/standard/var.c:1.80 --- php4/ext/standard/var.c:1.79 Mon Nov 6 10:19:05 2000 +++ php4/ext/standard/var.c Tue Nov 7 07:06:43 2000 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: var.c,v 1.79 2000/11/06 18:19:05 stas Exp $ */ +/* $Id: var.c,v 1.80 2000/11/07 15:06:43 stas Exp $ */ /* {{{ includes @@ -392,8 +392,7 @@ if(zend_hash_index_find(var_hash, id, (void *)&rval_ref) != SUCCESS) { return 0; } - zval_dtor(*rval); - FREE_ZVAL(*rval); + zval_ptr_dtor(rval); *rval = *rval_ref; (*rval)->refcount++; (*rval)->is_ref = 1;

« previous php.cvs (#2512) next »