OSDN Git Service
(root)
/
git-core
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hashmap: migrate documentation from Documentation/technical into header
[git-core/git.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index
0c0e20f
..
2a52b07
100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-179,8
+179,7
@@
int run_diff_files(struct rev_info *revs, unsigned int option)
free(dpath);
continue;
}
- free(dpath);
- dpath = NULL;
+ FREE_AND_NULL(dpath);
/*
* Show the diff for the 'ce' if we found the one