diff options
author | hyunuktak <hyunuk.tak@samsung.com> | 2016-12-12 18:25:33 +0900 |
---|---|---|
committer | hyunuktak <hyunuk.tak@samsung.com> | 2016-12-12 18:25:38 +0900 |
commit | 3600191c97d13f251399717a630264fbb9324799 (patch) | |
tree | 98e98b0bb3938e262e539fa35f565ebaed0ebdbb | |
parent | f286ffa4be1e1146d83d41bc2b30742d1be8cec8 (diff) | |
download | connman-3600191c97d13f251399717a630264fbb9324799.tar.gz connman-3600191c97d13f251399717a630264fbb9324799.tar.bz2 connman-3600191c97d13f251399717a630264fbb9324799.zip |
Fix a svace for checking NULLsubmit/tizen_3.0/20161212.124449accepted/tizen/3.0/wearable/20161213.025155accepted/tizen/3.0/tv/20161213.025147accepted/tizen/3.0/mobile/20161213.025136accepted/tizen/3.0/ivi/20161213.025206accepted/tizen/3.0/common/20161213.164040
Change-Id: I91b9b29c1c1c2b0b835f5a9b81a23b48fbd3b5dc
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-x | src/network.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network.c b/src/network.c index 6c275c46..715c8ea9 100755 --- a/src/network.c +++ b/src/network.c @@ -1386,7 +1386,8 @@ static void set_invalid_key_error(struct connman_network *network) service = connman_service_lookup_from_network(network); #if defined TIZEN_EXT - __connman_service_set_favorite(service, false); + if (service) + __connman_service_set_favorite(service, false); #endif __connman_service_indicate_error(service, CONNMAN_SERVICE_ERROR_INVALID_KEY); |