dbus-proxy: Don't clear dbus_address twice

It's sufficient to g_free it, which we do further down finalize().
This is not a double-free, because we used g_clear_pointer(),
but it's redundant.

Signed-off-by: Simon McVittie <smcv@collabora.com>
tingping/wmclass
Simon McVittie 2017-06-30 16:48:11 +01:00 committed by Alexander Larsson
parent c02920f28c
commit 501399a808
1 changed files with 0 additions and 1 deletions

View File

@ -487,7 +487,6 @@ flatpak_proxy_finalize (GObject *object)
if (g_socket_service_is_active (G_SOCKET_SERVICE (proxy)))
unlink (proxy->socket_path);
g_clear_pointer (&proxy->dbus_address, g_free);
g_assert (proxy->clients == NULL);
g_hash_table_destroy (proxy->policy);