diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 19:02:36 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 19:02:36 -0800 |
| commit | 984a869c985f8cc334cc40bd5b387e11d9f9ba29 (patch) | |
| tree | 52924e7275843295607666408c51f0718bf61819 /file_loader.c | |
| parent | 5d1ffd61440a9563d10e921538cbfdc4e21bbd09 (diff) | |
Renaming 'op' member fields to 'pat'
Diffstat (limited to 'file_loader.c')
| -rw-r--r-- | file_loader.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/file_loader.c b/file_loader.c index f54a4d2..0d92241 100644 --- a/file_loader.c +++ b/file_loader.c @@ -151,10 +151,10 @@ void destroy_file(file_t **f) } } - for (allocated_pat_t *next; (*f)->ops; (*f)->ops = next) { - next = (*f)->ops->next; - destroy_pat(&(*f)->ops->op); - xfree(&(*f)->ops); + for (allocated_pat_t *next; (*f)->pats; (*f)->pats = next) { + next = (*f)->pats->next; + destroy_pat(&(*f)->pats->pat); + xfree(&(*f)->pats); } xfree(f); |
