From: Georg Richter Date: Fri, 6 Jun 2003 19:02:30 +0000 (+0000) Subject: fixed bug #24060 X-Git-Tag: RELEASE_1_0_2~382 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8ac961927d0c678d8d199ed58eccd5f8b1c94e7;p=php fixed bug #24060 --- diff --git a/ext/ncurses/ncurses_functions.c b/ext/ncurses/ncurses_functions.c index a03c9fa3a2..c8a1824d80 100644 --- a/ext/ncurses/ncurses_functions.c +++ b/ext/ncurses/ncurses_functions.c @@ -2235,15 +2235,13 @@ PHP_FUNCTION(ncurses_new_panel) PHP_FUNCTION(ncurses_del_panel) { zval *handle; - PANEL **panel; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &handle) == FAILURE) { return; } + zend_list_delete(Z_RESVAL_PP(handle)); - FETCH_PANEL(panel, &handle); - - RETURN_LONG(del_panel(*panel)); + RETURN_TRUE; } /* }}} */