Browse Source

- Fixed bug #48087 (call_user_method() invalid free of arguments)

experimental/first_unicode_implementation
Felipe Pena 17 years ago
parent
commit
c0386a0851
  1. 4
      ext/standard/basic_functions.c

4
ext/standard/basic_functions.c

@ -4777,7 +4777,9 @@ PHP_FUNCTION(call_user_method)
} else {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call %R()", Z_TYPE_P(callback), Z_UNIVAL_P(callback));
}
efree(params);
if (n_params) {
efree(params);
}
}
/* }}} */

Loading…
Cancel
Save