[gnome-control-center] sharing: Fix memory leak
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sharing: Fix memory leak
- Date: Wed, 27 Nov 2019 21:29:39 +0000 (UTC)
commit 3173ccefb76731b5cef3ecdce325b4279040257b
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Nov 21 21:09:50 2019 +1300
sharing: Fix memory leak
panels/sharing/vino-preferences.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/sharing/vino-preferences.c b/panels/sharing/vino-preferences.c
index f09b034d3..029459dab 100644
--- a/panels/sharing/vino-preferences.c
+++ b/panels/sharing/vino-preferences.c
@@ -39,7 +39,7 @@ vino_get_authtype (GValue *value,
g_variant_iter_init (&iter, variant);
g_value_set_boolean (value, TRUE);
- while (g_variant_iter_next (&iter, "s", &type))
+ while (g_variant_iter_next (&iter, "&s", &type))
if (strcmp (type, "none") == 0)
g_value_set_boolean (value, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]