Code Merge [Tizen3.0]: Applied tizen.org patches
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / bt-popup.c
index d83f3b8..66a6995 100644 (file)
@@ -39,7 +39,7 @@ __bluetooth_create_agent_proxy(DBusGConnection *sys_conn, const char *path)
        return dbus_g_proxy_new_for_name (      sys_conn,
                                                "org.projectx.bt",
                                                path,
-                                               "org.bluez.Agent");
+                                               "org.bluez.Agent1");
 }
 
 static DBusGProxy*
@@ -343,6 +343,7 @@ notify_launch(bundle * user_data)
        if (!notify_is_initted())
                if (!notify_init("Tizen Bluetooth-frwk")){
                        BT_ERR("notification init failed\n");
+                       free(ad);
                        return BT_FAILED;
                }