From 899e4cd7f419588e11a5991e9bfb27f6da1b9135 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Thu, 4 Jun 2009 10:50:47 -0400 Subject: Fix Bug 584830: Invalid read in new_connection_cb There is a manager and a location_manager pointer in that function. The wrong one was used in the cast. --- libempathy-gtk/empathy-location-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libempathy-gtk/empathy-location-manager.c b/libempathy-gtk/empathy-location-manager.c index 1bb1b732f..fb804315c 100644 --- a/libempathy-gtk/empathy-location-manager.c +++ b/libempathy-gtk/empathy-location-manager.c @@ -251,7 +251,7 @@ new_connection_cb (EmpathyAccountManager *manager, TpConnection *conn, gpointer *location_manager) { - EmpathyLocationManagerPriv *priv = GET_PRIV (manager); + EmpathyLocationManagerPriv *priv = GET_PRIV (location_manager); DEBUG ("New connection %p", conn); /* Don't publish if it is already planned (ie startup) */ -- cgit v1.2.3