mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
shada: Refactor history merger to use statically sized 2linked list
Also fixes the error: when writing shada files existing history items may be freed. Warning: valgrind reports some memory leaks.
This commit is contained in:
@@ -597,7 +597,7 @@ static void init_type_metadata(Dictionary *metadata)
|
||||
}
|
||||
|
||||
/// Creates a deep clone of an object
|
||||
static Object copy_object(Object obj)
|
||||
Object copy_object(Object obj)
|
||||
{
|
||||
switch (obj.type) {
|
||||
case kObjectTypeNil:
|
||||
|
Reference in New Issue
Block a user