diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-13 01:48:36 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-13 01:48:36 -0800 |
| commit | 45d7aff47545f52136487fbb5b06cdcf716cbe9f (patch) | |
| tree | 38140eaa9d47cea8276e06cec93f0cb2988eae8d /bp.c | |
| parent | 7e4b287d9bd904aaf9cc2bf77cdd456194130e99 (diff) | |
Major overhaul of some of the memory tracking code, as well as some
cleanup of the compilation code.
Diffstat (limited to 'bp.c')
| -rw-r--r-- | bp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -120,6 +120,7 @@ static int process_file(def_t *defs, const char *filename, vm_op_t *pattern, uns if (m != NULL) destroy_match(&m); + destroy_file(&f); return success; @@ -286,6 +287,8 @@ int main(int argc, char *argv[]) } if (flags & BP_JSON) printf("]\n"); + free_defs(&defs, NULL); + return (found > 0) ? 0 : 1; } |
