Skip to content
Commit e8aabc64 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

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: default avatarMichael S. Tsirkin <mst@redhat.com>
Acked-by: default avatarGabriel Somlo <somlo@cmu.edu>
parent 9735a227
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