[telepathy-gabble/master] bytestream_factory_iq_si_cb: initialize self_jid so world won't explode if we got an error before it got a value

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Apr 16 07:44:57 PDT 2009


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

diff --git a/src/bytestream-factory.c b/src/bytestream-factory.c
index b974a85..f9b72e0 100644
--- a/src/bytestream-factory.c
+++ b/src/bytestream-factory.c
@@ -829,7 +829,7 @@ bytestream_factory_iq_si_cb (LmMessageHandler *handler,
   GSList *stream_methods = NULL;
   gboolean multiple;
   gchar *peer_resource = NULL;
-  gchar *self_jid;
+  gchar *self_jid = NULL;
 
   if (lm_message_get_sub_type (msg) != LM_MESSAGE_SUB_TYPE_SET)
     return LM_HANDLER_RESULT_ALLOW_MORE_HANDLERS;
-- 
1.5.6.5



More information about the telepathy-commits mailing list