Commit 08e1c8e3 authored by Ross Lagerwall's avatar Ross Lagerwall

GtkPlacesSidebar: Fix a memory leak
parent 0c12d3af
......@@ -3679,7 +3679,10 @@ hostname_proxy_new_cb (GObject *source_object,
proxy = g_dbus_proxy_new_for_bus_finish (res, &error);
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
g_error_free (error);
sidebar->hostnamed_proxy = proxy;
g_clear_object (&sidebar->hostnamed_cancellable);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment