[gnome-control-center] region: Fix possibly uninitialised variable
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] region: Fix possibly uninitialised variable
- Date: Thu, 27 Sep 2012 14:13:26 +0000 (UTC)
commit 287b0b917ab1e8182a2f8da0d60c6210d5ce296b
Author: Bastien Nocera <hadess hadess net>
Date: Thu Sep 27 12:43:39 2012 +0200
region: Fix possibly uninitialised variable
panels/region/gnome-region-panel-system.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/region/gnome-region-panel-system.c b/panels/region/gnome-region-panel-system.c
index c031975..20c623c 100644
--- a/panels/region/gnome-region-panel-system.c
+++ b/panels/region/gnome-region-panel-system.c
@@ -320,6 +320,7 @@ on_localed_properties_changed (GDBusProxy *proxy,
g_variant_dup_string (w, NULL), g_free);
g_variant_unref (w);
} else {
+ variants = NULL;
g_object_set_data_full (G_OBJECT (label), "input_variants", NULL, g_free);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]