Skip to content

Commit 26b0385

Browse files
committed
Merge branch 'PHP-7.2'
* PHP-7.2: Fix potential memory leak in the enchant extension Fix potential memory leak in curl extension
2 parents cf45479 + 3139be0 commit 26b0385

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)