Ashijeet Acharya ca44141d5f ide: Fix memory leak in ide_register_restart_cb()
Fix a memory leak in ide_register_restart_cb() in hw/ide/core.c and add
idebus_unrealize() in hw/ide/qdev.c to have calls to
qemu_del_vm_change_state_handler() to deal with the dangling change
state handler during hot-unplugging ide devices which might lead to a
crash.

Signed-off-by: Ashijeet Acharya <ashijeetacharya@gmail.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1474995212-10580-1-git-send-email-ashijeetacharya@gmail.com
[Minor whitespace fix --js]
Signed-off-by: John Snow <jsnow@redhat.com>
2016-09-29 15:50:29 -04:00
..
2016-09-24 01:02:01 +03:00
2016-09-23 10:29:40 +10:00
2016-05-18 15:04:27 +03:00
2016-09-08 18:05:21 +04:00
2016-06-24 05:13:57 +03:00
2016-09-23 19:03:56 +03:00
2016-09-23 12:39:07 +10:00
2016-09-15 15:32:22 +03:00
2016-09-15 15:32:22 +03:00
2016-05-19 16:42:30 +02:00
2014-10-23 16:41:25 +02:00
2016-09-08 18:05:22 +04:00
2016-06-22 12:53:26 +02:00