aboutsummaryrefslogtreecommitdiff
path: root/files.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-07-29 12:45:37 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-07-29 12:45:37 -0700
commitbc813df3d749971ade565a7cf34aedae6787dc44 (patch)
tree83ebd4020fa82769af3315ab415d0aaace4c7420 /files.c
parentdb969f34a99b5ab5efd3a82d3c6d5a8e9be6f2da (diff)
Tweaks and optimizations
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);
}