remote: release strbuf after use in read_remote_branches()
Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
aeb014f6ae
commit
e2581b7221
@ -571,6 +571,7 @@ static int read_remote_branches(const char *refname,
|
|||||||
else
|
else
|
||||||
item->util = NULL;
|
item->util = NULL;
|
||||||
}
|
}
|
||||||
|
strbuf_release(&buf);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user