Merge "[SPIN] Add NULL check to prevent crash." into tizen
[platform/upstream/connman.git] / src / service.c
index db8953c..ca29119 100755 (executable)
@@ -5150,6 +5150,10 @@ static void service_schedule_removed(struct connman_service *service)
 
 static bool allow_property_changed(struct connman_service *service)
 {
+#if defined TIZEN_EXT
+       if (service->path == NULL)
+               return FALSE;
+#endif
        if (g_hash_table_lookup_extended(services_notify->add, service->path,
                                        NULL, NULL)) {
                DBG("no property updates for service %p", service);