Skip to content

Commit e71e46b

Browse files
committed
Fix memory leak for PHP5
1 parent f360ab2 commit e71e46b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zephir_parser.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ static PHP_FUNCTION(zephir_parse_file)
6767
}
6868

6969
assert(Z_TYPE_P(r) == IS_ARRAY);
70+
zval_ptr_dtor(&error_msg);
7071
RETURN_ZVAL(r, 1, 1);
7172
}
7273
/* }}} */

0 commit comments

Comments
 (0)