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

index 106e2c63e1469032697d87242a89b50ed5a713a5..1d86e65af19454ea00456d1ca3eb12c20ac5ff55 100644 (file)
@@ -308,7 +308,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;