Skip to content

Commit e6b3181

Browse files
committed
* fix memleack gc
1 parent a32b9c7 commit e6b3181

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Zend/zend_gc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2222,9 +2222,7 @@ ZEND_API int zend_gc_collect_cycles(void)
22222222
if (!GC_G(num_roots)) {
22232223
/* nothing to free */
22242224
GC_TRACE("Nothing to free");
2225-
GC_G(gc_stack) = NULL;
22262225
gc_stack_free(stack);
2227-
efree(stack);
22282226
GC_G(gc_active) = 0;
22292227
goto finish;
22302228
}

0 commit comments

Comments
 (0)