projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* fixing concept of phpstr dtor/free
[m6w6/ext-http]
/
http.c
diff --git
a/http.c
b/http.c
index 930e179a13a572c9acfbb88d8aaa3f029bf8102b..e0f61fc893f027a1525a185a5e81444e5180da1b 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-485,7
+485,7
@@
PHP_MSHUTDOWN_FUNCTION(http)
{
UNREGISTER_INI_ENTRIES();
#ifdef HTTP_HAVE_CURL
{
UNREGISTER_INI_ENTRIES();
#ifdef HTTP_HAVE_CURL
-
//phpstr_free
(&HTTP_G(curlbuf));
+
phpstr_dtor
(&HTTP_G(curlbuf));
curl_global_cleanup();
#endif
return SUCCESS;
curl_global_cleanup();
#endif
return SUCCESS;
@@
-518,7
+518,7
@@
PHP_RSHUTDOWN_FUNCTION(http)
}
#ifdef HTTP_HAVE_CURL
}
#ifdef HTTP_HAVE_CURL
-
//phpstr_free
(&HTTP_G(curlbuf));
+
phpstr_dtor
(&HTTP_G(curlbuf));
#endif
return SUCCESS;
#endif
return SUCCESS;