projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* fix header ids
[m6w6/ext-http]
/
http.c
diff --git
a/http.c
b/http.c
index 03ac2df105532dab26b8e7f05516abe09f342427..7cb3c4cdf8b6d06d880777c0cbd2679b490fbdcf 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-35,6
+35,7
@@
#include "php_http.h"
#include "php_http_api.h"
#include "php_http_curl_api.h"
#include "php_http.h"
#include "php_http_api.h"
#include "php_http_curl_api.h"
+#include "php_http_std_defs.h"
#ifdef ZEND_ENGINE_2
# include "ext/standard/php_http.h"
#ifdef ZEND_ENGINE_2
# include "ext/standard/php_http.h"
@@
-477,6
+478,7
@@
PHP_RSHUTDOWN_FUNCTION(http)
efree(HTTP_G(ctype));
HTTP_G(ctype) = NULL;
}
efree(HTTP_G(ctype));
HTTP_G(ctype) = NULL;
}
+
#ifdef HTTP_HAVE_CURL
if (HTTP_G(curlbuf).data) {
efree(HTTP_G(curlbuf).data);
#ifdef HTTP_HAVE_CURL
if (HTTP_G(curlbuf).data) {
efree(HTTP_G(curlbuf).data);
@@
-485,6
+487,7
@@
PHP_RSHUTDOWN_FUNCTION(http)
HTTP_G(curlbuf).free = 0;
}
#endif
HTTP_G(curlbuf).free = 0;
}
#endif
+
return SUCCESS;
}
/* }}} */
return SUCCESS;
}
/* }}} */