From addf32d7d97464521dfd33a0198ab3cb250d2138 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 1 Feb 2008 11:25:59 +0000 Subject: [PATCH] we don't want to modify the pointer contents, we just want to change the pointer itself --- ext/phar/phar_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 1b5cb494c6..13306edb0f 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -1075,7 +1075,7 @@ static int phar_build(zend_object_iterator *iter, void *puser TSRMLS_DC) efree(fname); return ZEND_HASH_APPLY_KEEP; } - test = expand_filepath(fname, test TSRMLS_CC); + test = expand_filepath(fname, NULL TSRMLS_CC); if (test) { efree(fname); fname = test; -- 2.50.1