Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
use do() instead of require() to include configuration
[gitweb.git]
/
path-list.c
diff --git
a/path-list.c
b/path-list.c
index f15a10de37bc453c3b495ef8b3d3046d3611ce2f..b1ee72d1dc25085f2114748001d21e3e518e54ee 100644
(file)
--- a/
path-list.c
+++ b/
path-list.c
@@
-85,8
+85,7
@@
void path_list_clear(struct path_list *list, int free_items)
for (i = 0; i < list->nr; i++) {
if (list->strdup_paths)
free(list->items[i].path);
- if (list->items[i].util)
- free(list->items[i].util);
+ free(list->items[i].util);
}
free(list->items);
}