[epiphany] ephy-session: fix memory leak



commit dff14936ff03c5ff609a6b692306f2d9a012c514
Author: Xan Lopez <xan igalia com>
Date:   Sun Mar 17 09:31:33 2013 +0100

    ephy-session: fix memory leak
    
    We were not freeing the save data struct itself.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695963

 src/ephy-session.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 0dd6c05..6a8a8d9 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -738,6 +738,8 @@ save_data_free (SaveData *data)
 
        g_object_unref (data->save_file);
        g_object_unref (data->session);
+
+       g_slice_free (SaveData, data);
 }
 
 static int


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