mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-02 08:03:45 -05:00
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:
@@ -799,6 +799,7 @@ static void read_alternate_refs(const char *path,
|
||||
|
||||
fclose(fh);
|
||||
finish_command(&cmd);
|
||||
strbuf_release(&line);
|
||||
}
|
||||
|
||||
struct alternate_refs_data {
|
||||
|
||||
Reference in New Issue
Block a user