mirror of
https://github.com/git/git.git
synced 2024-12-01 05:54:16 +08:00
builtin-blame.c: remove unneeded memclr()
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
f2fdd10ab7
commit
4808ab8f87
@ -125,7 +125,6 @@ static void origin_decref(struct origin *o)
|
||||
if (o && --o->refcnt <= 0) {
|
||||
if (o->file.ptr)
|
||||
free(o->file.ptr);
|
||||
memset(o, 0, sizeof(*o));
|
||||
free(o);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user