libnm: don't take ownership of input argument in NMSecretAgentOld:get_secrets_cb()
Fixes: 6793a32a8c
This commit is contained in:
@@ -302,7 +302,7 @@ get_secrets_cb (NMSecretAgentOld *self,
|
|||||||
g_dbus_method_invocation_return_gerror (info->context, error);
|
g_dbus_method_invocation_return_gerror (info->context, error);
|
||||||
else {
|
else {
|
||||||
g_dbus_method_invocation_return_value (info->context,
|
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 */
|
/* Remove the request from internal tracking */
|
||||||
|
Reference in New Issue
Block a user