commit | 2db03ce277ddd8641c95b1c9699ea58d6000db61 | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Thu Feb 28 09:34:05 2019 +0200 |
committer | Kumar Gala <kumar.gala@gmail.com> | Thu Feb 28 08:46:52 2019 -0600 |
tree | 81b5dc1730753d44c73f6899b25a022f5efb8008 | |
parent | 4bbcf391c3b48dfdf31f614338f1a47ab5dcceb3 [diff] |
samples: net: socket: can: Do cleanup if failure If bind() fails or TX thread cannot start, then cleanup the socket by calling close() Coverity-CID: 191003 Fixes #13824 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>