mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
api_clear_error()
This commit is contained in:
@@ -388,7 +388,7 @@ Boolean nvim_win_is_valid(Window window)
|
||||
{
|
||||
Error stub = ERROR_INIT;
|
||||
Boolean ret = find_window_by_handle(window, &stub) != NULL;
|
||||
xfree(stub.msg);
|
||||
api_clear_error(&stub);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user