Skip to content

Commit e9820bf

Browse files
committed
Fixed memory leak in ext/spl/tests/bug77263.phpt
1 parent e55a658 commit e9820bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_helpers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ static zend_function* ZEND_FASTCALL zend_jit_find_method_tmp_helper(zend_object
177177
zend_objects_store_del(obj);
178178
}
179179
} else if (obj != *obj_ptr) {
180-
GC_ADDREF(obj);
180+
GC_ADDREF(*obj_ptr);
181181
if (GC_DELREF(obj) == 0) {
182182
zend_objects_store_del(obj);
183183
}

0 commit comments

Comments
 (0)