aboutsummaryrefslogtreecommitdiff
path: root/files.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-19 21:35:34 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-19 21:35:34 -0800
commit16c401fbbb4f22a29afe3d63c8105cc8f33061d0 (patch)
treef20c656ebf5a76eb2fe05fd6611be85ecc9232a2 /files.c
parentb8bb6c25ecafc3398bbaa949398b80c4e1bce373 (diff)
Simplified code by disallowing escapes in strings and splitting
stringpatterns into chunks (so unescaped versions don't need to be created)
Diffstat (limited to 'files.c')
-rw-r--r--files.c1
1 files changed, 0 insertions, 1 deletions
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);
}