aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-17 16:31:33 +0800
committerXan Lopez <xan@igalia.com>2013-03-17 16:34:04 +0800
commitdff14936ff03c5ff609a6b692306f2d9a012c514 (patch)
tree9fbd4d8972e51c2265f9c2ebf39a3a7d30464c04
parenta0ce000e62a5b595ed7132aa061adf5270e81967 (diff)
downloadgsoc2013-epiphany-dff14936ff03c5ff609a6b692306f2d9a012c514.tar
gsoc2013-epiphany-dff14936ff03c5ff609a6b692306f2d9a012c514.tar.gz
gsoc2013-epiphany-dff14936ff03c5ff609a6b692306f2d9a012c514.tar.bz2
gsoc2013-epiphany-dff14936ff03c5ff609a6b692306f2d9a012c514.tar.lz
gsoc2013-epiphany-dff14936ff03c5ff609a6b692306f2d9a012c514.tar.xz
gsoc2013-epiphany-dff14936ff03c5ff609a6b692306f2d9a012c514.tar.zst
gsoc2013-epiphany-dff14936ff03c5ff609a6b692306f2d9a012c514.zip
ephy-session: fix memory leak
We were not freeing the save data struct itself. https://bugzilla.gnome.org/show_bug.cgi?id=695963
-rw-r--r--src/ephy-session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 0dd6c056b..6a8a8d9db 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