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: NMichael S. Tsirkin <mst@redhat.com> Acked-by: NGabriel Somlo <somlo@cmu.edu>
Showing
想要评论请 注册 或 登录