proxy: fix refcount handing for DestroyProxyConfiguration operation
Fixes: e895beb0da
This commit is contained in:
@@ -250,6 +250,7 @@ pacrunner_send_done (GDBusProxy *proxy, GAsyncResult *res, gpointer user_data)
|
|||||||
_LOG2D (config, "sent");
|
_LOG2D (config, "sent");
|
||||||
|
|
||||||
if (config->removed) {
|
if (config->removed) {
|
||||||
|
config_ref (config);
|
||||||
g_dbus_proxy_call (priv->pacrunner,
|
g_dbus_proxy_call (priv->pacrunner,
|
||||||
"DestroyProxyConfiguration",
|
"DestroyProxyConfiguration",
|
||||||
g_variant_new ("(o)", config->path),
|
g_variant_new ("(o)", config->path),
|
||||||
|
Reference in New Issue
Block a user