OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2fdd10
)
builtin-blame.c: remove unneeded memclr()
author
Junio C Hamano
<gitster@pobox.com>
Tue, 18 Dec 2007 09:46:04 +0000
(
01:46
-0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 18 Dec 2007 09:46:04 +0000
(
01:46
-0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c
patch
|
blob
|
history
diff --git
a/builtin-blame.c
b/builtin-blame.c
index
99ea0a0
..
d98caaf
100644
(file)
--- 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);
}
}