Merge branch 'rs/plug-strbuf-reak-in-read-alt-refs'
Leakfix. * rs/plug-strbuf-reak-in-read-alt-refs: sha1-file: release strbuf after use
This commit is contained in:
commit
d2422a99cc
@ -799,6 +799,7 @@ static void read_alternate_refs(const char *path,
|
||||
|
||||
fclose(fh);
|
||||
finish_command(&cmd);
|
||||
strbuf_release(&line);
|
||||
}
|
||||
|
||||
struct alternate_refs_data {
|
||||
|
Loading…
Reference in New Issue
Block a user