misc: mic: use after free printing error message
Swap the printk and kfree() to avoid a use after free bug. Fixes: 61e9c905 ('misc: mic: Enable VOP host side functionality') Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录