X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=7cb3c4cdf8b6d06d880777c0cbd2679b490fbdcf;hp=fdeb84f35973d91b24d362ac4302e617b980232f;hb=336ab37eb6fa1e0e91857d65fae0e747b4ad481c;hpb=2811a2111f519ee55e05c4084903a34dc0c3b818 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; } /* }}} */