Commit 40070445 by Vicent Marti

config: Typorrrrl

parent deee4766
......@@ -93,7 +93,11 @@ int git_config_add_file_ondisk(git_config *cfg, const char *path, int priority)
error = git_config_add_file(cfg, file, priority);
if (error < GIT_SUCCESS) {
file->free(file); /* free manually; the file is not owned by the ODB yet */
/*
* free manually; the file is not owned by the config
* instance yet and will not be freed on cleanup
*/
file->free(file);
return error;
}
......
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