java: fix memleak in disasm()