mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-05 20:33:41 +00:00
Fix memory leaks.
This commit is contained in:
parent
3793fa9b18
commit
a71331ebc4
@ -615,6 +615,8 @@ static int config_delete_multivar(git_config_backend *cfg, const char *name, con
|
|||||||
cvar_free(to_delete[to_delete_idx]);
|
cvar_free(to_delete[to_delete_idx]);
|
||||||
|
|
||||||
git__free(key);
|
git__free(key);
|
||||||
|
git__free(to_delete);
|
||||||
|
regfree(&preg);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user