Browse Source

builtin-blame.c: remove unneeded memclr()

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Junio C Hamano 17 years ago
parent
commit
4808ab8f87
  1. 1
      builtin-blame.c

1
builtin-blame.c

@ -125,7 +125,6 @@ static void origin_decref(struct origin *o) @@ -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…
Cancel
Save