summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-18 09:46:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-12-18 09:46:04 (GMT)
commit4808ab8f87551967d61fc4f4164e2f99e2fa4d71 (patch)
treeef4e855fc3bb910683de7dbaefe48b4204b92334
parentf2fdd10ab76feb0e141fc3f9cf4e5efd87f7fcdf (diff)
downloadgit-4808ab8f87551967d61fc4f4164e2f99e2fa4d71.zip
git-4808ab8f87551967d61fc4f4164e2f99e2fa4d71.tar.gz
git-4808ab8f87551967d61fc4f4164e2f99e2fa4d71.tar.bz2
builtin-blame.c: remove unneeded memclr()
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin-blame.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin-blame.c b/builtin-blame.c
index 99ea0a0..d98caaf 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);
}
}