diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-05-29 17:58:06 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-05-29 17:58:06 +0300 |
commit | d90c6f2443d3c8b4e1e83b3e0fbfc58d1fe5e84f (patch) | |
tree | b651c9cea24d5fd0c82796e498a46f1b96b40e4d /ext/pcntl | |
parent | 44be0fa67b46506353c3dd27d97801bd0eddbb00 (diff) | |
download | php-git-d90c6f2443d3c8b4e1e83b3e0fbfc58d1fe5e84f.tar.gz |
Removed useless zval_ptr_dtor()
Diffstat (limited to 'ext/pcntl')
-rw-r--r-- | ext/pcntl/pcntl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index c65e1ecd66..9c51659181 100644 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -1463,8 +1463,9 @@ void pcntl_signal_dispatch() /* FIXME: this is probably broken when multiple signals are handled in this while loop (retval) */ call_user_function(EG(function_table), NULL, handle, &retval, 2, params); zval_ptr_dtor(&retval); - zval_ptr_dtor(¶ms[0]); +#ifdef HAVE_STRUCT_SIGINFO_T zval_ptr_dtor(¶ms[1]); +#endif } } |