aboutsummaryrefslogtreecommitdiff
path: root/file_loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'file_loader.c')
-rw-r--r--file_loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_loader.c b/file_loader.c
index 9a07ced..f54a4d2 100644
--- a/file_loader.c
+++ b/file_loader.c
@@ -151,7 +151,7 @@ void destroy_file(file_t **f)
}
}
- for (allocated_op_t *next; (*f)->ops; (*f)->ops = next) {
+ for (allocated_pat_t *next; (*f)->ops; (*f)->ops = next) {
next = (*f)->ops->next;
destroy_pat(&(*f)->ops->op);
xfree(&(*f)->ops);