Skip to content

Commit

Permalink
Fix memleak in x86.nz asm plugin (#4416)
Browse files Browse the repository at this point in the history
  • Loading branch information
pelijah authored Apr 5, 2024
1 parent eeda6b1 commit de75dac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions librz/arch/p/asm/asm_x86_nz.c
Original file line number Diff line number Diff line change
Expand Up @@ -5209,6 +5209,7 @@ static int oprep(RzAsm *a, ut8 *data, const Opcode *op) {
if (instr.has_bnd) {
retval++;
}
free(instr.mnemonic);
return l + retval;
}
break;
Expand Down

0 comments on commit de75dac

Please sign in to comment.