Skip to content
Commit 3b626c5e authored by Baohong Liu's avatar Baohong Liu Committed by Anas Nashif
Browse files

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: default avatarBaohong Liu <baohong.liu@intel.com>
parent 794a47de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment