diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-11-09 11:51:54 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-11-10 11:06:43 +0100 |
commit | 777c5f1e436d334a57b650b6951c13d8d2799df0 (patch) | |
tree | 6dd206fdfb4b92da05de44dd59fe3704c5747872 /qdev-monitor.c | |
parent | b0fbe46ad82982b289a44ee2495b59b0bad8a842 (diff) |
ui: fix dcl unregister
register checks for dcl->ds being NULL, to avoid registering
the same dcl twice.
Therefore dcl->ds must be cleared on unregister, otherwise
un-registering and re-registering doesn't work.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1510809
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20171109105154.29414-1-kraxel@redhat.com
Diffstat (limited to 'qdev-monitor.c')
0 files changed, 0 insertions, 0 deletions