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

GtkPlacesSidebar: Fix a memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=736512
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))
return;
{
g_error_free (error);
return;
}
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