diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-20 14:36:21 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-20 14:36:21 +0300 |
commit | 64e9369b94022d687c08c0173cb81a45da84d405 (patch) | |
tree | a882568c498e41dc1b0a3881be678948f69322e4 /plugins | |
parent | 1f281e3ece26776e20ead4047f4956891cf179ea (diff) |
Remember to remove the name listener in path_unregister
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/service.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/service.c b/plugins/service.c index d154255f..c2f5f15c 100644 --- a/plugins/service.c +++ b/plugins/service.c @@ -729,7 +729,10 @@ static void path_unregister(void *data) for (l = serv_adapter->records; l != NULL; l = next) { struct record_data *user_record = l->data; + next = l->next; + + g_dbus_remove_watch(connection, user_record->listener_id); exit_callback(connection, user_record); } } |