From: Moriyoshi Koizumi Date: Tue, 5 Nov 2002 13:52:11 +0000 (+0000) Subject: style fix X-Git-Tag: php-4.3.0RC1~269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bef514afdaaec92814c19be29df304bef647c16a;p=php style fix --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 3be7d77b7b..1c096fbfe5 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -889,9 +889,16 @@ PHP_FUNCTION(implode) } php_implode(delim, arr, return_value); - if (arg1 != NULL && arg1_separated) zval_ptr_dtor(arg1); - if (arg2 != NULL && arg2_separated) zval_ptr_dtor(arg2); - if (delim_needs_dtor) FREE_ZVAL(delim); + + if (arg1 != NULL && arg1_separated) { + zval_ptr_dtor(arg1); + } + if (arg2 != NULL && arg2_separated) { + zval_ptr_dtor(arg2); + } + if (delim_needs_dtor) { + FREE_ZVAL(delim); + } } /* }}} */