serial: max3107: Fix memory leaks when returning on error
Fix memory leaks in max3107_probe() when returning on error. Signed-off-by: NDavidlohr Bueso <dave@gnu.org> Acked-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录