projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68395ea
)
service: Fix service_send_changed abort signal while cleaning up
author
Tomasz Bursztyka
<tomasz.bursztyka@linux.intel.com>
Tue, 17 Apr 2012 08:18:02 +0000
(11:18 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Tue, 17 Apr 2012 10:37:47 +0000
(13:37 +0300)
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
b3644b0
..
fd1340e
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-3646,7
+3646,9
@@
static void service_append_added_foreach(gpointer data, gpointer user_data)
static void service_append_ordered(DBusMessageIter *iter, void *user_data)
{
- g_sequence_foreach(service_list, service_append_added_foreach, iter);
+ if (service_list != NULL)
+ g_sequence_foreach(service_list,
+ service_append_added_foreach, iter);
}
static void append_removed(gpointer key, gpointer value, gpointer user_data)