[Telepathy-commits] [telepathy-sofiasip/master] Zero-initialize the GValue for the alias pair

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Tue Dec 16 09:10:41 PST 2008


---
 src/conn-aliasing.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/conn-aliasing.c b/src/conn-aliasing.c
index 05206f0..c6d0577 100644
--- a/src/conn-aliasing.c
+++ b/src/conn-aliasing.c
@@ -185,7 +185,7 @@ emit_self_alias_change (TpsipConnection *self, const gchar *alias)
 {
   TpBaseConnection *base = (TpBaseConnection *) self;
   GPtrArray *change_data;
-  GValue change_pair;
+  GValue change_pair = { 0, };
 
   g_value_init (&change_pair, TP_STRUCT_TYPE_ALIAS_PAIR);
   g_value_take_boxed (&change_pair,
-- 
1.5.6.5



More information about the Telepathy-commits mailing list