]> granicus.if.org Git - php/commitdiff
ensure that bucket->brigade is NULL in newly created bucket
authorAntony Dovgal <tony2001@php.net>
Tue, 21 Nov 2006 20:58:17 +0000 (20:58 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 21 Nov 2006 20:58:17 +0000 (20:58 +0000)
main/streams/filter.c

index 741f56c1ae78940bc52f6ada3c3fffde9c43bf18..657506c5c13ffb13f5fa08f759ffb6cb0923e9ed 100644 (file)
@@ -102,6 +102,7 @@ PHPAPI php_stream_bucket *php_stream_bucket_new(php_stream *stream, char *buf, s
        }
        bucket->is_persistent = is_persistent;
        bucket->refcount = 1;
+       bucket->brigade = NULL;
 
        return bucket;
 }