diff options
author | Xan Lopez <xan@igalia.com> | 2013-03-17 16:31:33 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2013-03-17 16:34:04 +0800 |
commit | dff14936ff03c5ff609a6b692306f2d9a012c514 (patch) | |
tree | 9fbd4d8972e51c2265f9c2ebf39a3a7d30464c04 | |
parent | a0ce000e62a5b595ed7132aa061adf5270e81967 (diff) | |
download | gsoc2013-epiphany-dff14936ff03c5ff609a6b692306f2d9a012c514.tar.gz 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.c | 2 |
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 |