mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
fix(eval): prevent double-free in garbage collection (#22990)
This commit is contained in:
@@ -1149,7 +1149,7 @@ void vars_clear_ext(hashtab_T *ht, int free_val)
|
||||
}
|
||||
}
|
||||
hash_clear(ht);
|
||||
ht->ht_used = 0;
|
||||
hash_init(ht);
|
||||
}
|
||||
|
||||
/// Delete a variable from hashtab "ht" at item "hi".
|
||||
|
Reference in New Issue
Block a user