mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
*: Fix memory leaks found by clang sanitizer
This commit is contained in:
@@ -552,6 +552,7 @@ json_decode_string_cycle_start:
|
||||
clear_tv(&obj);
|
||||
goto json_decode_string_fail;
|
||||
}
|
||||
xfree(str);
|
||||
POP(obj, true);
|
||||
} else {
|
||||
*str_end = NUL;
|
||||
|
Reference in New Issue
Block a user