diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-04-03 15:22:08 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-04-07 15:16:39 +0300 |
commit | e8aabc64d7f5c8702e420c6fa478368f60718ae4 (patch) | |
tree | eae09e5ae7f60e8e2e375b6792639da64f71720f /drivers/virtio | |
parent | 9735a22799b9214d17d3c231fe377fc852f042e9 (diff) |
qemu_fw_cfg: don't leak kobj on init error
If platform_driver_register fails, we should
cleanup fw_cfg_top_ko before exiting.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Gabriel Somlo <somlo@cmu.edu>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions