[telepathy-gabble/master] emit_search_result: initialize the handle to 0

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Aug 26 09:22:00 PDT 2009


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

diff --git a/src/search-channel.c b/src/search-channel.c
index fb82a7b..8c87d20 100644
--- a/src/search-channel.c
+++ b/src/search-channel.c
@@ -456,7 +456,7 @@ emit_search_result (GabbleSearchChannel *chan,
 {
   GPtrArray *info = g_ptr_array_new ();
   gchar *jid, *first, *last, *nick, *email;
-  TpHandle h;
+  TpHandle h = 0;
   GError *e = NULL;
 
   jid = ht_lookup_and_remove (info_map, "jid");
-- 
1.5.6.5




More information about the telepathy-commits mailing list