sha1-file: release strbuf after use

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
René Scharfe 2019-08-07 13:15:25 +02:00 committed by Junio C Hamano
parent 7c20df84bd
commit 86ad3ea5cf
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 {