diff options
author | Sara Golemon <pollita@php.net> | 2003-06-27 04:27:18 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2003-06-27 04:27:18 +0000 |
commit | ac795777769d574d64bcf65312b1cf790d8297b3 (patch) | |
tree | 59f254c7bb1c0ca1b4c8c76511a4ffdad68767ef | |
parent | 7c5afebdb8bd3a4a89817ef68656836de3af7d40 (diff) | |
download | php-git-ac795777769d574d64bcf65312b1cf790d8297b3.tar.gz |
MFB PHP_4_3 main/streams.c r-1.125.2.70
-rwxr-xr-x | main/streams/streams.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c index 15483d9d64..aef11d708c 100755 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -1622,6 +1622,10 @@ PHPAPI void php_stream_context_free(php_stream_context *context) zval_ptr_dtor(&context->options); context->options = NULL; } + if (context->notifier) { + php_stream_notification_free(context->notifier); + context->notifier = NULL; + } efree(context); } @@ -1630,6 +1634,7 @@ PHPAPI php_stream_context *php_stream_context_alloc(void) php_stream_context *context; context = ecalloc(1, sizeof(php_stream_context)); + context->notifier = NULL; MAKE_STD_ZVAL(context->options); array_init(context->options); |