mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 04:58:01 +02:00
proxy: fix refcount handing for DestroyProxyConfiguration operation
Fixes:e895beb0da(cherry picked from commitdf137fdf9a)
This commit is contained in:
parent
888a6ae029
commit
10373de907
1 changed files with 1 additions and 0 deletions
|
|
@ -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),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue