[geocode-glib] ipclient: Fix memory leak



commit 1773728dc5bfdd305e36a515b28566e3ef54f1d3
Author: Satabdi Das <satabdidas gmail com>
Date:   Thu Mar 21 12:52:53 2013 +0530

    ipclient: Fix memory leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696543

 geocode-glib/geocode-ipclient.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/geocode-glib/geocode-ipclient.c b/geocode-glib/geocode-ipclient.c
index 0692f18..47e5194 100644
--- a/geocode-glib/geocode-ipclient.c
+++ b/geocode-glib/geocode-ipclient.c
@@ -105,7 +105,7 @@ geocode_ipclient_finalize (GObject *gipclient)
         GeocodeIpclient *ipclient = (GeocodeIpclient *) gipclient;
 
         g_free (ipclient->priv->ip);
-
+        g_free (ipclient->priv->server);
         G_OBJECT_CLASS (geocode_ipclient_parent_class)->finalize (gipclient);
 }
 


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