mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-26 18:35:42 +00:00
Temporary memory leak fix (should be done in a better way)
This commit is contained in:
1 parent
39c466147a
commit
e49c0804da
1 file changed
+2
-1
@@ -655,7 +655,8 @@ ZEND_METHOD(exception, __toString)
|
||||
zend_update_property_string(default_exception_ce, getThis(), "string", sizeof("string")-1, str TSRMLS_CC);
|
||||
|
||||
//??? RETURN_STRINGL(str, len, 0);
|
||||
RETURN_STRINGL(str, len);
|
||||
RETVAL_STRINGL(str, len);
|
||||
efree(str);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
Reference in new issue
Block a user