[geocode-glib] lib: Fix crasher finalizing the object



commit 83e0ca4c49830f789c6ffcda5ce106340c210fa5
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 27 14:53:23 2011 +0100

    lib: Fix crasher finalizing the object
    
    Stupid cut'n'paste typoes.

 geocode-glib/geocode-glib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/geocode-glib/geocode-glib.c b/geocode-glib/geocode-glib.c
index 86f6a93..f07245f 100644
--- a/geocode-glib/geocode-glib.c
+++ b/geocode-glib/geocode-glib.c
@@ -38,7 +38,7 @@ G_DEFINE_TYPE (GeocodeObject, geocode_object, G_TYPE_OBJECT)
 static void
 geocode_object_finalize (GObject *gobject)
 {
-	GeocodeObject *object = (GeocodeObject *) object;
+	GeocodeObject *object = (GeocodeObject *) gobject;
 
 	g_hash_table_destroy (object->priv->ht);
 	object->priv->ht = NULL;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]