commit | b29699602df46a8dffe01bedf2a601c4e2699a96 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Tue Oct 28 19:35:58 2014 -0500 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Wed Oct 29 08:42:17 2014 +0800 |
tree | 4b78fffb35e458b675969d352fa68a1df1777ef2 | |
parent | 755a21a9bfeef4bd8145d0896a1b6f668f6d99f3 [diff] |
greybus: drop the cport id on error In gb_connection_create(), if an error occurs adding a connection's device, the cport id assigned to the AP end of the connection is not getting freed. Fix that. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>