Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: recurse in-process using 'struct repository'
[gitweb.git]
/
blame.c
diff --git
a/blame.c
b/blame.c
index 6d57ab9715665a8bc6a2ba02015342ad851b6d2f..91e26e93e8a23d0af63e1bc8a74e9f7690276ab4 100644
(file)
--- a/
blame.c
+++ b/
blame.c
@@
-314,8
+314,7
@@
static void fill_origin_blob(struct diff_options *opt,
static void drop_origin_blob(struct blame_origin *o)
{
if (o->file.ptr) {
- free(o->file.ptr);
- o->file.ptr = NULL;
+ FREE_AND_NULL(o->file.ptr);
}
}