diff options
Diffstat (limited to 'Zend/zend_inheritance.c')
-rw-r--r-- | Zend/zend_inheritance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c index 46a674ba90..8af706a1d0 100644 --- a/Zend/zend_inheritance.c +++ b/Zend/zend_inheritance.c @@ -619,8 +619,8 @@ static void do_inheritance_check_on_method(zend_function *child, zend_function * error_verb = "should"; } zend_error(error_level, "Declaration of %s %s be compatible with %s", ZSTR_VAL(child_prototype), error_verb, ZSTR_VAL(method_prototype)); - zend_string_free(child_prototype); - zend_string_free(method_prototype); + zend_string_efree(child_prototype); + zend_string_efree(method_prototype); } } /* }}} */ |