summaryrefslogtreecommitdiff
path: root/diffcore-pathspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'diffcore-pathspec.c')
-rw-r--r--diffcore-pathspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diffcore-pathspec.c b/diffcore-pathspec.c
index 25ab9eda93..4b7adc396a 100644
--- a/diffcore-pathspec.c
+++ b/diffcore-pathspec.c
@@ -55,7 +55,7 @@ void diffcore_pathspec(const char **pathspec)
matches_pathspec(p->two->path, spec, speccnt))
diff_q(&outq, p);
else
- diff_free_filepair(p);
+ free(p);
}
free(q->queue);
*q = outq;