greybus: uart: Fix the memory leak in connection init
If alloc minor is error, gb_tty should free. Signed-off-by:Phong Tran <tranmanphong@gmail.com> Reviewed-by:
Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com>
Showing
Please register or sign in to comment