Zero ioport_opaque on isa_unassign_ioport
commit750de28179f51efcecf2df1986558b0f87175f5d
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 11 Mar 2008 20:12:14 +0000 (11 17:12 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 16 Mar 2008 12:27:07 +0000 (16 14:27 +0200)
tree706f6364d677c3cd7043492c4bc60715bc19c37a
parent750e08f17000d9ce28802a5a81bdb26d783bd098
Zero ioport_opaque on isa_unassign_ioport

If the io port is unassigned, the previous private pointer is
meaningless.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
vl.c