]> granicus.if.org Git - php/commitdiff
This takes the address of a zval ptr
authorMarcus Boerger <helly@php.net>
Sat, 29 Nov 2003 18:23:35 +0000 (18:23 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 29 Nov 2003 18:23:35 +0000 (18:23 +0000)
Zend/zend_API.h

index 9cdb44c95d778ce6f833e25345b83dfe5119d629..0368ef564156d699a853b0442a554333e366a614 100644 (file)
@@ -386,7 +386,7 @@ ZEND_API ZEND_FUNCTION(display_disabled_class);
                        zval_copy_ctor(z);          \
            }                               \
                if (dtor) {                     \
-                       zval_ptr_dtor(zv);          \
+                       zval_ptr_dtor(&zv);         \
            }                               \
                (z)->is_ref = is_ref;           \
                (z)->refcount = refcount;       \