Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Silence cpio's "N blocks" output when cloning locally
[gitweb.git]
/
builtin-blame.c
diff --git
a/builtin-blame.c
b/builtin-blame.c
index 59d7237f21f406b71aabc66ea7997faf98981869..bfd562d7d2b897ad4ab3d35dda33701e315b7d5d 100644
(file)
--- a/
builtin-blame.c
+++ b/
builtin-blame.c
@@
-123,8
+123,7
@@
static inline struct origin *origin_incref(struct origin *o)
static void origin_decref(struct origin *o)
{
if (o && --o->refcnt <= 0) {
- if (o->file.ptr)
- free(o->file.ptr);
+ free(o->file.ptr);
free(o);
}
}