diff options
| author | Moriyoshi Koizumi <moriyoshi@php.net> | 2002-11-05 13:52:11 +0000 |
|---|---|---|
| committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2002-11-05 13:52:11 +0000 |
| commit | bef514afdaaec92814c19be29df304bef647c16a (patch) | |
| tree | fcea0f141f3b83d825b0d2e530cb5a96fecc1503 | |
| parent | 608d4ded7728b850c5744975df59138aef8fafa5 (diff) | |
| download | php-git-bef514afdaaec92814c19be29df304bef647c16a.tar.gz | |
style fix
| -rw-r--r-- | ext/standard/string.c | 13 |
1 files 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); + } } /* }}} */ |
