X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fconnection_profile.c;h=3d306951f731017c5345f652f6cefcad68232bb4;hb=refs%2Fheads%2Ftizen_3.0.2015.q1_common;hp=6d0bfe3d00475088b23f131f3aee0dfc755c85e5;hpb=0a34c7d798343a87c4640936bcab3a55fc18da52;p=platform%2Fcore%2Fapi%2Fconnection.git diff --git a/src/connection_profile.c b/src/connection_profile.c index 6d0bfe3..3d30695 100644 --- a/src/connection_profile.c +++ b/src/connection_profile.c @@ -841,7 +841,8 @@ EXPORT_API int connection_profile_unset_state_changed_cb(connection_profile_h pr return CONNECTION_ERROR_INVALID_PARAMETER; } - _connection_libnet_remove_from_profile_cb_list(profile); + if (_connection_libnet_remove_from_profile_cb_list(profile) != true) + return CONNECTION_ERROR_INVALID_PARAMETER; return CONNECTION_ERROR_NONE; }