summaryrefslogtreecommitdiff
path: root/blame.c
diff options
context:
space:
mode:
Diffstat (limited to 'blame.c')
-rw-r--r--blame.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/blame.c b/blame.c
index 14d0e0b575..f9b7f0a0de 100644
--- a/blame.c
+++ b/blame.c
@@ -313,9 +313,7 @@ static void fill_origin_blob(struct diff_options *opt,
static void drop_origin_blob(struct blame_origin *o)
{
- if (o->file.ptr) {
- FREE_AND_NULL(o->file.ptr);
- }
+ FREE_AND_NULL(o->file.ptr);
}
/*