projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- update test files
[m6w6/ext-http]
/
http.c
diff --git
a/http.c
b/http.c
index cbc38eb7208972603761e9ecd454f8dd07a02f0d..05f448f560008ddcf754c9b4c5088aca722b7ff0 100644
(file)
--- a/
http.c
+++ b/
http.c
@@
-206,6
+206,10
@@
static inline void _http_globals_free(zend_http_globals *G TSRMLS_DC)
}
STR_SET(G->send.content_type, NULL);
STR_SET(G->send.unquoted_etag, NULL);
+ if (G->server_var) {
+ zval_ptr_dtor(&G->server_var);
+ G->server_var = NULL;
+ }
}
/* }}} */