Skip to content

Commit 8f7cb07

Browse files
uslsteenderzhavin3016
authored andcommitted
Add missed free
1 parent 96c2f82 commit 8f7cb07

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/jit/ir/ir.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ JitFunction IRJit::translate(const BBInfo &info) {
303303
throw std::runtime_error("IR JIT compilation failed");
304304
}
305305

306+
ir_free(&ctx);
307+
306308
return reinterpret_cast<JitFunction>(nativeCode);
307309
}
308310

0 commit comments

Comments
 (0)