X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_api.c;fp=http_api.c;h=7979e7bdefcd551e0ac3847dc260a2b6b1e29098;hp=00461d9d7e49050e8212769e0667548eaa6f2486;hb=ac6011fd12223817daa9ab93f8208da0281022b6;hpb=c3ed5d97ba0f91010327f20eba41d7e07f5f243e 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;