Skip to content

Commit 3139be0

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Fix potential memory leak in the enchant extension Fix potential memory leak in curl extension
2 parents beab622 + 7ba70a5 commit 3139be0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/enchant/enchant.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ PHP_FUNCTION(enchant_dict_quick_check)
719719
}
720720

721721
if (sugg) {
722-
zval_dtor(sugg);
722+
zval_ptr_dtor(sugg);
723723
array_init(sugg);
724724
}
725725

0 commit comments

Comments
 (0)