Skip to content

Commit

Permalink
Fix for memory leak in AArch64InstPrinter.c
Browse files Browse the repository at this point in the history
  • Loading branch information
FinnWilkinson committed Sep 29, 2022
1 parent 847305f commit e16e5db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/AArch64/AArch64InstPrinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2515,6 +2515,7 @@ static void printMatrixTileVector(MCInst *MI, unsigned OpNum, SStream *O, bool I
MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].reg = Reg;
MI->flat_insn->detail->arm64.op_count++;
}
free(RegNameNew);
}

static const unsigned MatrixZADRegisterTable[] = {
Expand Down

0 comments on commit e16e5db

Please sign in to comment.