summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-05-11 12:09:45 +0200
committerThomas Haller <thaller@redhat.com>2017-05-11 18:24:41 +0200
commitdf137fdf9a7077c20d8923f068568c22fb479e5a (patch)
tree29be04bd8ac487f99e627ec9b19ce9360968f139
parent58f7813283c8daf04c20b3f0fbb6bdf0a710fbb2 (diff)
downloadNetworkManager-df137fdf9a7077c20d8923f068568c22fb479e5a.tar.gz
proxy: fix refcount handing for DestroyProxyConfiguration operation
Fixes: e895beb0da38fc87ce93fe7403a6b50e92f0dd82
-rw-r--r--src/nm-pacrunner-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-pacrunner-manager.c b/src/nm-pacrunner-manager.c
index cfc028c2cc..fd3d1f8a2d 100644
--- a/src/nm-pacrunner-manager.c
+++ b/src/nm-pacrunner-manager.c
@@ -250,6 +250,7 @@ pacrunner_send_done (GDBusProxy *proxy, GAsyncResult *res, gpointer user_data)
_LOG2D (config, "sent");
if (config->removed) {
+ config_ref (config);
g_dbus_proxy_call (priv->pacrunner,
"DestroyProxyConfiguration",
g_variant_new ("(o)", config->path),