]> granicus.if.org Git - php/commitdiff
Fix leak
authorStanislav Malyshev <stas@php.net>
Mon, 10 Jun 2002 09:15:02 +0000 (09:15 +0000)
committerStanislav Malyshev <stas@php.net>
Mon, 10 Jun 2002 09:15:02 +0000 (09:15 +0000)
Zend/zend_execute.c

index 22aa82c50d6a43a97572e05addec50cbaa8d00bd..abefc3ce1d8ea77f0f8a8e5685335d7973f05c96 100644 (file)
@@ -307,6 +307,7 @@ static inline void zend_assign_to_object(znode *result, znode *op1, znode *op2,
                *retval = EG(uninitialized_zval_ptr);
 
                SELECTIVE_PZVAL_LOCK(*retval, result);
+               PZVAL_UNLOCK(value);
                return;
        }