aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-location-manager.c
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-06-04 22:50:47 +0800
committerPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-06-04 22:51:09 +0800
commit899e4cd7f419588e11a5991e9bfb27f6da1b9135 (patch)
tree96aae980518ccbac6f11e8495841fdc2c869f8f2 /libempathy-gtk/empathy-location-manager.c
parentd2c0aaae088b846dfb54e39b389aaa4a71d4ddac (diff)
downloadgsoc2013-empathy-899e4cd7f419588e11a5991e9bfb27f6da1b9135.tar
gsoc2013-empathy-899e4cd7f419588e11a5991e9bfb27f6da1b9135.tar.gz
gsoc2013-empathy-899e4cd7f419588e11a5991e9bfb27f6da1b9135.tar.bz2
gsoc2013-empathy-899e4cd7f419588e11a5991e9bfb27f6da1b9135.tar.lz
gsoc2013-empathy-899e4cd7f419588e11a5991e9bfb27f6da1b9135.tar.xz
gsoc2013-empathy-899e4cd7f419588e11a5991e9bfb27f6da1b9135.tar.zst
gsoc2013-empathy-899e4cd7f419588e11a5991e9bfb27f6da1b9135.zip
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.
Diffstat (limited to 'libempathy-gtk/empathy-location-manager.c')
-rw-r--r--libempathy-gtk/empathy-location-manager.c2
1 files changed, 1 insertions, 1 deletions
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) */