mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28:18 +00:00
eval: Use list_unref in place of decrementing refcount directly
This commit is contained in:
@@ -21937,7 +21937,7 @@ typval_T eval_call_provider(char *provider, char *method, list_T *arguments)
|
|||||||
true,
|
true,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
arguments->lv_refcount--;
|
list_unref(arguments);
|
||||||
// Restore caller scope information
|
// Restore caller scope information
|
||||||
restore_funccal(provider_caller_scope.funccalp);
|
restore_funccal(provider_caller_scope.funccalp);
|
||||||
provider_caller_scope = saved_provider_caller_scope;
|
provider_caller_scope = saved_provider_caller_scope;
|
||||||
|
Reference in New Issue
Block a user