@matheusbsbs / matheus-bagliano / commits / 4808ab8f87
Fork 0

builtin-blame.c: remove unneeded memclr()

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Dec 18, 2007 at 01:46 UTC 4808ab8f87551967d61fc4f4164e2f99e2fa4d71
1 file changed -1
builtin-blame.c
-1
@@ -125,7 +125,6 @@ static void origin_decref(struct origin *o)
125 if (o && --o->refcnt <= 0) {
126 if (o->file.ptr)
127 free(o->file.ptr);
128 - memset(o, 0, sizeof(*o));
128 free(o);
129 }
130 }