From bc813df3d749971ade565a7cf34aedae6787dc44 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 29 Jul 2021 12:45:37 -0700 Subject: Tweaks and optimizations --- files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files.c') 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); } -- cgit v1.2.3