mirror of
https://github.com/danog/ir.git
synced 2024-12-03 10:08:29 +01:00
AArch64: Remove redundant memory unmap #12688
This commit is contained in:
parent
ea2de69592
commit
5e9d41f6b4
@ -5357,9 +5357,6 @@ void *ir_emit_code(ir_ctx *ctx, size_t *size_ptr)
|
||||
if (ret != DASM_S_OK) {
|
||||
IR_ASSERT(0);
|
||||
dasm_free(&data.dasm_state);
|
||||
if (ctx->code_buffer == NULL) {
|
||||
ir_mem_unmap(entry, size);
|
||||
}
|
||||
ctx->data = NULL;
|
||||
ctx->status = IR_ERROR_LINK;
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user