From: Seonah Moon Date: Mon, 11 Apr 2016 10:19:30 +0000 (+0900) Subject: [SVACE][TIZEN_3.0_Wearable][Critical][WGID 72171] DEREF_OF_NULL X-Git-Tag: submit/tizen/20160411.105802^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=313474b80e1547b91c7ae6e70a3e6076ba4f106c;p=platform%2Fcore%2Fapi%2Ftethering.git [SVACE][TIZEN_3.0_Wearable][Critical][WGID 72171] DEREF_OF_NULL Change-Id: I64c176bf1297a16ad2395822b9e95676939393b8 Signed-off-by: Seonah Moon --- diff --git a/packaging/capi-network-tethering.spec b/packaging/capi-network-tethering.spec index 959bcdb..02894c1 100644 --- a/packaging/capi-network-tethering.spec +++ b/packaging/capi-network-tethering.spec @@ -1,6 +1,6 @@ Name: capi-network-tethering Summary: Tethering Framework -Version: 1.0.32 +Version: 1.0.33 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/src/tethering.c b/src/tethering.c index 5c39b85..e161cb3 100755 --- a/src/tethering.c +++ b/src/tethering.c @@ -1560,7 +1560,8 @@ API int tethering_create(tethering_h *tethering) NULL, TETHERING_SERVICE_NAME, TETHERING_SERVICE_OBJECT_PATH, TETHERING_SERVICE_INTERFACE, th->cancellable, &error); if (!th->client_bus_proxy) { - ERR("Couldn't create the proxy object because of %s\n", error->message); + if (error) + ERR("Couldn't create the proxy object because of %s\n", error->message); g_cancellable_cancel(th->cancellable); g_object_unref(th->cancellable); g_object_unref(th->client_bus);