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 && --o->refcnt <= 0) {
|
||||||
if (o->file.ptr)
|
if (o->file.ptr)
|
||||||
free(o->file.ptr);
|
free(o->file.ptr);
|
||||||
memset(o, 0, sizeof(*o));
|
|
||||||
free(o);
|
free(o);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user