mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
api_clear_error()
This commit is contained in:
@@ -800,7 +800,8 @@ void api_free_dictionary(Dictionary value)
|
||||
xfree(value.items);
|
||||
}
|
||||
|
||||
void api_free_error(Error *value)
|
||||
void api_clear_error(Error *value)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
xfree(value->msg);
|
||||
value->msg = NULL;
|
||||
|
||||
Reference in New Issue
Block a user