aboutsummaryrefslogtreecommitdiff
path: root/path-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'path-list.c')
-rw-r--r--path-list.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/path-list.c b/path-list.c
index f15a10de3..b1ee72d1d 100644
--- 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);
}