aboutsummaryrefslogtreecommitdiff
path: root/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'files.c')
-rw-r--r--files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/files.c b/files.c
index d010cc0..165c9b5 100644
--- a/files.c
+++ b/files.c
@@ -186,7 +186,7 @@ void destroy_file(file_t **f)
}
}
- for (allocated_pat_t *next; (*f)->pats; (*f)->pats = next) {
+ for (pat_t *next; (*f)->pats; (*f)->pats = next) {
next = (*f)->pats->next;
xfree(&(*f)->pats);
}