From: Junio C Hamano Date: Tue, 18 Dec 2007 09:46:04 +0000 (-0800) Subject: builtin-blame.c: remove unneeded memclr() X-Git-Tag: v1.5.4-rc1~17 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4808ab8f87551967d61fc4f4164e2f99e2fa4d71;p=git.git builtin-blame.c: remove unneeded memclr() Signed-off-by: Junio C Hamano --- diff --git a/builtin-blame.c b/builtin-blame.c index 99ea0a02c..d98caaf21 100644 --- a/builtin-blame.c +++ b/builtin-blame.c @@ -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); } }