diff options
author | Jim Wilson <wilson@tuliptree.org> | 2000-08-02 21:24:54 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2000-08-02 21:24:54 +0000 |
commit | 300e8bbdc6aed4b3129f41f6ab4078c33fe7c828 (patch) | |
tree | ae9611e6b5624c7ae7857b31daf0c5bed03531e2 /opcodes/ia64-dis.c | |
parent | 3865281a7c2f94d451a571f667876427ec31cb27 (diff) | |
download | gdb-300e8bbdc6aed4b3129f41f6ab4078c33fe7c828.tar.gz |
Fix memory leaks for IA-64 opcode idescs.
gas/
* config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
before ia64_find_opcode.
(md_assemble): Likewise.
opcodes/
* ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
Diffstat (limited to 'opcodes/ia64-dis.c')
-rw-r--r-- | opcodes/ia64-dis.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/ia64-dis.c b/opcodes/ia64-dis.c index 7a68597de15..d4ea62b505d 100644 --- a/opcodes/ia64-dis.c +++ b/opcodes/ia64-dis.c @@ -254,6 +254,7 @@ print_insn_ia64 (bfd_vma memaddr, struct disassemble_info *info) (*info->fprintf_func) (info->stream, ";;"); done: + ia64_free_opcode (idesc); if (slotnum == 2) retval += 16 - 3*slot_multiplier; return retval; |