From: Marcus Boerger Date: Sat, 14 Jun 2003 17:08:49 +0000 (+0000) Subject: Fix ZTS mode X-Git-Tag: RELEASE_1_0_2~258 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9605db43edf4d3f5fc489011f798e0104667cd9d;p=php Fix ZTS mode --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 7e89e3b8e4..ceb83af63f 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -131,6 +131,7 @@ static ZEND_RSRC_DTOR_FUNC(file_context_dtor) { php_stream_context *context = (php_stream_context*)rsrc->ptr; zval_dtor(context->options); + context->options = NULL; php_stream_context_free(context); }