From 01e67c1c0bf103d1aaacd95e10590f7b3eddc2e1 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 19 May 2006 10:24:42 +0000 Subject: [PATCH] MFH: initialize factory --- main/streams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/streams.c b/main/streams.c index 8fc81e9cdd..b188766745 100755 --- a/main/streams.c +++ b/main/streams.c @@ -445,7 +445,7 @@ PHPAPI int php_stream_filter_unregister_factory(const char *filterpattern TSRMLS * charsets (for example) but still be able to provide them all as filters */ PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, const char *filterparams, int filterparamslen, int persistent TSRMLS_DC) { - php_stream_filter_factory *factory; + php_stream_filter_factory *factory = NULL; php_stream_filter *filter = NULL; int n; char *period; -- 2.50.1