[Telepathy-commits] [telepathy-mission-control/master] Initialize variable and avoid a crash

Alberto Mardegan alberto.mardegan at nokia.com
Fri Dec 19 00:57:52 PST 2008


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

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index ca2911b..a4e0831 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -773,7 +773,7 @@ _mcd_dispatcher_handle_channel_async_cb (DBusGProxy * proxy, GError * error,
 static void
 start_old_channel_handler (McdDispatcherContext *context)
 {
-    McdChannelHandler *chandler;
+    McdChannelHandler *chandler = NULL;
     McdDispatcherPrivate *priv;
     McdChannel *channel = NULL;
     const gchar *protocol;
-- 
1.5.6.5



More information about the Telepathy-commits mailing list