[Bluetooth-Frwk] CSharp TCT Fixes over Latest Tizen branch 33/168733/1 accepted/tizen/unified/20180131.060535 submit/tizen/20180131.012600
authorAbhishek Chandra <abhishek.ch@samsung.com>
Tue, 30 Jan 2018 10:39:37 +0000 (16:09 +0530)
committerAbhishek Chandra <abhishek.ch@samsung.com>
Tue, 30 Jan 2018 10:39:37 +0000 (16:09 +0530)
Change-Id: I6a25081323c1293a7f4373ad419e2053ac38817d
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>
bt-oal/bluez_hal/src/bt-hal-gatt-server.c

index 89dca760c9e84756e491dba60567bcd406ceb14a..629a706dac81a97d757ddf086a703cc20ac8daa7 100644 (file)
@@ -1813,8 +1813,9 @@ static void __bt_hal_unregister_application_cb(GObject *object, GAsyncResult *re
        char *app_path = (char*)user_data;
        INFO("UnregisterApplication is completed app [%s]", app_path);
        GError *error = NULL;
-       GVariant *result;
+       GVariant *result = NULL;
 
+       if (manager_gproxy)
        result = g_dbus_proxy_call_finish(manager_gproxy, res, &error);
 
        if (result == NULL) {