[empathy] Fix Bug 584830: Invalid read in new_connection_cb
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Fix Bug 584830: Invalid read in new_connection_cb
- Date: Thu, 4 Jun 2009 10:52:38 -0400 (EDT)
commit 899e4cd7f419588e11a5991e9bfb27f6da1b9135
Author: Pierre-Luc Beaudoin <pierre-luc beaudoin collabora co uk>
Date: Thu Jun 4 10:50:47 2009 -0400
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libempathy-gtk/empathy-location-manager.c b/libempathy-gtk/empathy-location-manager.c
index 1bb1b73..fb80431 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) */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]