summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-06-03 17:59:53 +0200
committerThomas Haller <thaller@redhat.com>2015-06-03 18:07:21 +0200
commit9ffcecf86ad2230860cf8fdf5667884782ee64dd (patch)
tree1e341a12147920d6221a753c2285e8b6ee4b1f8e
parent5a3eb7aee3016e9a6e612720865ee14030249620 (diff)
downloadNetworkManager-9ffcecf86ad2230860cf8fdf5667884782ee64dd.tar.gz
libnm: don't take ownership of input argument in NMSecretAgentOld:get_secrets_cb()
Fixes: 6793a32a8c5445103ba3680bb5e4c31727096099
-rw-r--r--libnm/nm-secret-agent-old.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/nm-secret-agent-old.c b/libnm/nm-secret-agent-old.c
index 5da8ef655f..7dec0557f2 100644
--- a/libnm/nm-secret-agent-old.c
+++ b/libnm/nm-secret-agent-old.c
@@ -302,7 +302,7 @@ get_secrets_cb (NMSecretAgentOld *self,
g_dbus_method_invocation_return_gerror (info->context, error);
else {
g_dbus_method_invocation_return_value (info->context,
- g_variant_new ("(@a{sa{sv}})", secrets));
+ g_variant_new ("(a{sa{sv}})", secrets));
}
/* Remove the request from internal tracking */