summaryrefslogtreecommitdiff
path: root/src/search-channel.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-07-31 12:03:32 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-08-19 10:29:48 +0100
commit1b1bceceda34b0a31da0b67cbc43c1218943f657 (patch)
treeb119d581fa5ec11ec2a5c76e8e3a835c9630a052 /src/search-channel.c
parentaa6f4b72c2d2c4db1671062361731b14a1b2b4e2 (diff)
downloadtelepathy-gabble-1b1bceceda34b0a31da0b67cbc43c1218943f657.tar.gz
emit_search_result: initialize the handle to 0
Diffstat (limited to 'src/search-channel.c')
-rw-r--r--src/search-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search-channel.c b/src/search-channel.c
index fb82a7b5e..8c87d205d 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");