diff --git a/ir_main.c b/ir_main.c index 32d0dbd..3a6883a 100644 --- a/ir_main.c +++ b/ir_main.c @@ -662,6 +662,8 @@ int main(int argc, char **argv) return 1; } + ir_free(&ctx); + ir_loader_free(); #if HAVE_LLVM