parport_cs: Fix memory leak in parport_config
parport_probe() alloc parport device 'info', but while parport_config failed it does not free it. Signed-off-by: NYueHaibing <yuehaibing@huawei.com> Reviewed-by: NMukesh Ojha <mojha@codeaurora.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录