X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=05f448f560008ddcf754c9b4c5088aca722b7ff0;hp=cbc38eb7208972603761e9ecd454f8dd07a02f0d;hb=c1cf3f178414800e4010735765ac8d727672584e;hpb=833996197be90565b5bf497aa28226ddf10fb575 diff --git a/http.c b/http.c index cbc38eb..05f448f 100644 --- 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; + } } /* }}} */