From 16c401fbbb4f22a29afe3d63c8105cc8f33061d0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 19 Jan 2021 21:35:34 -0800 Subject: Simplified code by disallowing escapes in strings and splitting stringpatterns into chunks (so unescaped versions don't need to be created) --- files.c | 1 - 1 file changed, 1 deletion(-) (limited to 'files.c') diff --git a/files.c b/files.c index c554371..0d4664a 100644 --- a/files.c +++ b/files.c @@ -147,7 +147,6 @@ void destroy_file(file_t **f) for (allocated_pat_t *next; (*f)->pats; (*f)->pats = next) { next = (*f)->pats->next; - destroy_pat(&(*f)->pats->pat); xfree(&(*f)->pats); } -- cgit v1.2.3