diff options
author | Bastien Nocera <hadess@hadess.net> | 2016-10-07 19:53:45 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2016-10-10 16:32:43 +0200 |
commit | 12d64a1cf190135fe73ccd9b6078460b2a1ff0a5 (patch) | |
tree | 6a740ef63e7f608bf4ba668b931d3f6308e52d29 | |
parent | 2c54c00d1e70b7ec4b60bbf4d961d68bca6da7b2 (diff) | |
download | gnome-settings-daemon-12d64a1cf190135fe73ccd9b6078460b2a1ff0a5.tar.gz |
sharing: Fix crash on exit
When finalising the sharing manager, we destroyed the services
hashtable, but service_free() passed NULL as the manager, making it
impossible to really stop the service. As _stop() was already called, we
shouldn't need to stop the service, or crash.
https://bugzilla.gnome.org/show_bug.cgi?id=772587
-rw-r--r-- | plugins/sharing/gsd-sharing-manager.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/sharing/gsd-sharing-manager.c b/plugins/sharing/gsd-sharing-manager.c index 13e09b5f..c8a81823 100644 --- a/plugins/sharing/gsd-sharing-manager.c +++ b/plugins/sharing/gsd-sharing-manager.c @@ -757,7 +757,6 @@ service_free (gpointer pointer) ServiceInfo *service = pointer; g_clear_object (&service->settings); - gsd_sharing_manager_stop_service (NULL, service); g_free (service); } |