summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-05-19 10:23:43 +0000
committerAntony Dovgal <tony2001@php.net>2006-05-19 10:23:43 +0000
commit1417222aee62a8bdea9c4e74e13ca752cb183f29 (patch)
tree056bc330a45463bb6c15a75ca27459e5dbd72c51
parentbd6125c312681da50404542f750984f33e9ae95e (diff)
downloadphp-git-1417222aee62a8bdea9c4e74e13ca752cb183f29.tar.gz
initialize factory
-rw-r--r--main/streams/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/filter.c b/main/streams/filter.c
index 106e2c63e1..1d86e65af1 100644
--- a/main/streams/filter.c
+++ b/main/streams/filter.c
@@ -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;