Fix memory leaks.

parent 3793fa9b
......@@ -615,6 +615,8 @@ static int config_delete_multivar(git_config_backend *cfg, const char *name, con
cvar_free(to_delete[to_delete_idx]);
git__free(key);
git__free(to_delete);
regfree(&preg);
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment