]> granicus.if.org Git - php/commitdiff
MFH: initialize factory
authorAntony Dovgal <tony2001@php.net>
Fri, 19 May 2006 10:24:05 +0000 (10:24 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 19 May 2006 10:24:05 +0000 (10:24 +0000)
main/streams/filter.c

index f8a85232457182aef28053c5b2d1e8f12a03078e..2b9c8ed8191bd55626451e7596c02abcc1f94c9c 100644 (file)
@@ -251,7 +251,7 @@ PHPAPI void php_stream_bucket_unlink(php_stream_bucket *bucket TSRMLS_DC)
 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC)
 {
        HashTable *filter_hash = (FG(stream_filters) ? FG(stream_filters) : &stream_filters_hash);
-       php_stream_filter_factory *factory;
+       php_stream_filter_factory *factory = NULL;
        php_stream_filter *filter = NULL;
        int n;
        char *period;