From bef514afdaaec92814c19be29df304bef647c16a Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Tue, 5 Nov 2002 13:52:11 +0000 Subject: [PATCH] style fix --- ext/standard/string.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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); + } } /* }}} */ -- 2.50.1