diff options
author | Marcus Boerger <helly@php.net> | 2003-06-14 17:08:49 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-06-14 17:08:49 +0000 |
commit | 9605db43edf4d3f5fc489011f798e0104667cd9d (patch) | |
tree | 4c8315e6785fe8afa42d981a0ec39cbc921a8f7f | |
parent | 9f828a503530d89d6113aa997b49c2da2532fa8c (diff) | |
download | php-git-9605db43edf4d3f5fc489011f798e0104667cd9d.tar.gz |
Fix ZTS mode
-rw-r--r-- | ext/standard/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |