Commit c687041c authored by Christian Kellner's avatar Christian Kellner
Browse files

test/mock: plug another tiny leak

When removing the host device via mock_sysfs_host_remove, destroy
the MockDevice for the host.
parent 0b97bcaa
Pipeline #236587 passed with stage
in 6 minutes and 38 seconds
......@@ -888,6 +888,7 @@ mock_sysfs_host_remove (MockSysfs *ms,
mock_sysfs_device_unplug (ms, dev);
mock_device_destroy (dev);
domain->host = NULL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment