From: Antony Dovgal Date: Fri, 1 Feb 2008 11:25:59 +0000 (+0000) Subject: we don't want to modify the pointer contents, we just want to change the pointer... X-Git-Tag: RELEASE_2_0_0a1~673 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=addf32d7d97464521dfd33a0198ab3cb250d2138;p=php we don't want to modify the pointer contents, we just want to change the pointer itself --- 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;