diff options
author | Wez Furlong <wez@php.net> | 2002-03-20 14:21:30 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-03-20 14:21:30 +0000 |
commit | 659a071e3df2f16cd21083d1dec8c19e199f7757 (patch) | |
tree | 893304b46b1d9c5f937dbbd84cf1a4b9f38f13ce /main/user_streams.c | |
parent | 14d62c7b624cdcec1006c7d164bfb12b10ae18e5 (diff) | |
download | php-git-659a071e3df2f16cd21083d1dec8c19e199f7757.tar.gz |
Streams are all tracked as resources now.
Add some logic that will help track down leaks
when debug is enabled.
Diffstat (limited to 'main/user_streams.c')
-rw-r--r-- | main/user_streams.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/user_streams.c b/main/user_streams.c index 898ad5e099..ab90e1cd3b 100644 --- a/main/user_streams.c +++ b/main/user_streams.c @@ -115,7 +115,7 @@ static php_stream *user_wrapper_factory(char *filename, char *mode, int options, zval **args[4]; int call_result; php_stream *stream = NULL; - + us = emalloc(sizeof(*us)); us->wrapper = uwrap; |