diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-09-26 13:12:02 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-09-26 13:12:02 -0700 |
| commit | 77d9007a88a18e0dee08aa9ba93e3aec86375572 (patch) | |
| tree | 5dddf51ce1dfba7fe5272fc024bb839868a789ab /bp.c | |
| parent | ee0174001b385944c6a2b3b1fb6ba861613cb4f7 (diff) | |
Refactor of pat_t memory management to use doubly linked lists, and
moving the recursive freeing code from Lua/lbp.c into pattern.c
Diffstat (limited to 'bp.c')
| -rw-r--r-- | bp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -682,7 +682,7 @@ int main(int argc, char *argv[]) // tracking down memory leaks. free_all_matches(); defs = free_defs(defs, NULL); - free_pat(NULL); + free_all_pats(); while (loaded_files) { file_t *next = loaded_files->next; destroy_file(&loaded_files); |
