Temporary memory leak fix (should be done in a better way)

This commit is contained in:
Dmitry Stogov committed 2014-02-26 17:36:39 +04:00
1 parent 39c466147a
commit e49c0804da
1 file changed
+2 -1
+2 -1
View File
@@ -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);
}
/* }}} */