mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
api_clear_error()
This commit is contained in:
@@ -194,7 +194,7 @@ Boolean nvim_tabpage_is_valid(Tabpage tabpage)
|
||||
{
|
||||
Error stub = ERROR_INIT;
|
||||
Boolean ret = find_tab_by_handle(tabpage, &stub) != NULL;
|
||||
xfree(stub.msg);
|
||||
api_clear_error(&stub);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user