commit | 2ca689da916ef876396b32ac0962076dce040878 | [log] [tgz] |
---|---|---|
author | Baohong Liu <baohong.liu@intel.com> | Thu Nov 17 16:47:57 2016 -0800 |
committer | Anas Nashif <nashif@linux.intel.com> | Fri Nov 18 02:01:22 2016 +0000 |
tree | 89bb1dad078c76eb0fe2773d88e316e9d2d49a6c | |
parent | 8d2a51155773ad6a794325694fda44e16c4f9b9b [diff] |
samples: button: stop the app if device binding fails Stop the app from running if device binding fails. Otherwise, dereferencing NULL pointer will happen. This was caught by Coverity. Coverity-CID: 151988 Change-Id: I8245d938498a51123249fbd069935900ad660314 Signed-off-by: Baohong Liu <baohong.liu@intel.com>