diff options
author | Georg Richter <georg@php.net> | 2003-06-06 19:02:30 +0000 |
---|---|---|
committer | Georg Richter <georg@php.net> | 2003-06-06 19:02:30 +0000 |
commit | f8ac961927d0c678d8d199ed58eccd5f8b1c94e7 (patch) | |
tree | 31b78686fa04a843d12d96ac5228f2d6ecd1e6d4 /ext/ncurses/ncurses_functions.c | |
parent | 2013859ec57e141aa5b45db6e04f52aa79dd9e73 (diff) | |
download | php-git-f8ac961927d0c678d8d199ed58eccd5f8b1c94e7.tar.gz |
fixed bug #24060
Diffstat (limited to 'ext/ncurses/ncurses_functions.c')
-rw-r--r-- | ext/ncurses/ncurses_functions.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; } /* }}} */ |