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
maint
Junio C Hamano 2019-08-09 10:13:14 -07:00
commit d2422a99cc
1 changed files with 1 additions and 0 deletions

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 {