diff options
| author | Xinchen Hui <laruence@gmail.com> | 2014-02-27 16:56:17 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@gmail.com> | 2014-02-27 16:56:17 +0800 |
| commit | 122cc5f495b46e8d85a98ee7c25500c4cef4ced1 (patch) | |
| tree | 4ca47423b68d42c54ad1db681371c3954a66316e /Zend/zend_exceptions.c | |
| parent | 95320f1f468f7576c3536f42d5c03e118e45be23 (diff) | |
| parent | 054917619af45870602b3ee669c86397b8162bda (diff) | |
| download | php-git-122cc5f495b46e8d85a98ee7c25500c4cef4ced1.tar.gz | |
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Diffstat (limited to 'Zend/zend_exceptions.c')
| -rw-r--r-- | Zend/zend_exceptions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index 791f7a25c5..531ec345b7 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -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); } /* }}} */ |
