X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=7cb3c4cdf8b6d06d880777c0cbd2679b490fbdcf;hp=fdeb84f35973d91b24d362ac4302e617b980232f;hb=a12e8ddfaa5a94e76261f165b0c0299c87b886b1;hpb=c201441545e852d5d2b6d359a772211995350575;ds=sidebyside diff --git a/http.c b/http.c index fdeb84f..7cb3c4c 100644 --- a/http.c +++ b/http.c @@ -478,6 +478,7 @@ PHP_RSHUTDOWN_FUNCTION(http) efree(HTTP_G(ctype)); HTTP_G(ctype) = NULL; } + #ifdef HTTP_HAVE_CURL if (HTTP_G(curlbuf).data) { efree(HTTP_G(curlbuf).data); @@ -486,6 +487,7 @@ PHP_RSHUTDOWN_FUNCTION(http) HTTP_G(curlbuf).free = 0; } #endif + return SUCCESS; } /* }}} */