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:
Junio C Hamano 2019-08-09 10:13:14 -07:00
commit d2422a99cc

View File

@ -799,6 +799,7 @@ static void read_alternate_refs(const char *path,
fclose(fh);
finish_command(&cmd);
strbuf_release(&line);
}
struct alternate_refs_data {