forked from Mirrors/flatpak-builder
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
parent
c02920f28c
commit
501399a808
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue