diff options
Diffstat (limited to 'device-hotplug.c')
-rw-r--r-- | device-hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device-hotplug.c b/device-hotplug.c index fc09d10fdb..e6a1ffb9fa 100644 --- a/device-hotplug.c +++ b/device-hotplug.c @@ -76,6 +76,6 @@ void drive_hot_add(Monitor *mon, const QDict *qdict) err: if (dinfo) { - drive_put_ref(dinfo); + drive_del(dinfo); } } |