aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-04-18 09:18:15 +0800
committerLars-Peter Clausen <lars@metafoo.de>2009-04-21 16:42:13 +0800
commit6f657e089391122c2a98d709207a728d4c35f178 (patch)
tree8c37a1b25241bc71f5b67341dabab84eba117576 /src
parentf6712ab01845420000a653856f4a26b09ed3d81a (diff)
downloadgsoc2013-empathy-6f657e089391122c2a98d709207a728d4c35f178.tar
gsoc2013-empathy-6f657e089391122c2a98d709207a728d4c35f178.tar.gz
gsoc2013-empathy-6f657e089391122c2a98d709207a728d4c35f178.tar.bz2
gsoc2013-empathy-6f657e089391122c2a98d709207a728d4c35f178.tar.lz
gsoc2013-empathy-6f657e089391122c2a98d709207a728d4c35f178.tar.xz
gsoc2013-empathy-6f657e089391122c2a98d709207a728d4c35f178.tar.zst
gsoc2013-empathy-6f657e089391122c2a98d709207a728d4c35f178.zip
Fix memleak. Free strings retrieved from gtk_tree_model_get.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-preferences.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c
index 14bf54a12..8877bb045 100644
--- a/src/empathy-preferences.c
+++ b/src/empathy-preferences.c
@@ -288,6 +288,7 @@ preferences_sound_cell_toggled_cb (GtkCellRendererToggle *toggle,
empathy_conf_set_bool (empathy_conf_get (), key, instore);
+ g_free (key);
gtk_tree_path_free (path);
}
@@ -565,6 +566,7 @@ preferences_languages_load_foreach (GtkTreeModel *model,
}
}
+ g_free (code);
gtk_list_store_set (GTK_LIST_STORE (model), iter, COL_LANG_ENABLED, found, -1);
return FALSE;
}