X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_api.c;h=7979e7bdefcd551e0ac3847dc260a2b6b1e29098;hp=00461d9d7e49050e8212769e0667548eaa6f2486;hb=eef82b527f14c30a7c4bd9056e704e306ae97409;hpb=758075cfcd90fe3e9b3db6feb0f675d35cb664a2 diff --git a/http_api.c b/http_api.c index 00461d9..7979e7b 100644 --- a/http_api.c +++ b/http_api.c @@ -182,7 +182,7 @@ zval *_http_exception_wrap(zval *old_exception, zval *new_exception, zend_class_ } #if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3 Z_ADDREF_P(old_exception); - zend_exception_set_previous(new_exception, old_exception); + zend_exception_set_previous(new_exception, old_exception TSRMLS_CC); #endif zval_ptr_dtor(&old_exception); return new_exception;