From 9605db43edf4d3f5fc489011f798e0104667cd9d Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 14 Jun 2003 17:08:49 +0000 Subject: [PATCH] Fix ZTS mode --- ext/standard/file.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.50.1