Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
config documentation: some configs are auto-set by git-init
[gitweb.git]
/
walker.c
diff --git
a/walker.c
b/walker.c
index e57630e983488e5c0222dc47a5e32d6efb184762..11d9052ed86ab17b56ab86ef21b7c98095e410dc 100644
(file)
--- a/
walker.c
+++ b/
walker.c
@@
-245,7
+245,7
@@
void walker_targets_free(int targets, char **target, const char **write_ref)
{
while (targets--) {
free(target[targets]);
- if (write_ref
&& write_ref[targets]
)
+ if (write_ref)
free((char *) write_ref[targets]);
}
}