Skip to content
Commit 55f22911 authored by Phong Tran's avatar Phong Tran Committed by Greg Kroah-Hartman
Browse files

greybus: uart: Fix the memory leak in connection init



If alloc minor is error, gb_tty should free.

Signed-off-by: default avatarPhong Tran <tranmanphong@gmail.com>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 3cb494cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment