From: Georg Richter Date: Fri, 6 Jun 2003 18:50:46 +0000 (+0000) Subject: fixed #24060 X-Git-Tag: php-4.3.3RC1~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52dbb39ecdf5876b78228655f4a63792e306f457;p=php fixed #24060 --- diff --git a/ext/ncurses/ncurses_functions.c b/ext/ncurses/ncurses_functions.c index 3c85134560..6b74fadaf0 100644 --- a/ext/ncurses/ncurses_functions.c +++ b/ext/ncurses/ncurses_functions.c @@ -2278,14 +2278,13 @@ PHP_FUNCTION(ncurses_new_panel) PHP_FUNCTION(ncurses_del_panel) { zval **handle; - PANEL **panel; if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &handle) == FAILURE) WRONG_PARAM_COUNT; - FETCH_PANEL(panel, handle); + zend_list_delete(Z_RESVAL_PP(handle)); - RETURN_LONG(del_panel(*panel)); + RETURN_TRUE; } /* }}} */