aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-09-01 19:12:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-09-01 19:12:35 +0800
commit72766a6e2dd7c09455ae33b52d922b551710f16e (patch)
tree7f13ae25728637a32c678f34def0b260aa3b6a78 /widgets
parentf0d7a4142e8fb4ea492657aeb67c5a7bacf7af89 (diff)
downloadgsoc2013-evolution-72766a6e2dd7c09455ae33b52d922b551710f16e.tar
gsoc2013-evolution-72766a6e2dd7c09455ae33b52d922b551710f16e.tar.gz
gsoc2013-evolution-72766a6e2dd7c09455ae33b52d922b551710f16e.tar.bz2
gsoc2013-evolution-72766a6e2dd7c09455ae33b52d922b551710f16e.tar.lz
gsoc2013-evolution-72766a6e2dd7c09455ae33b52d922b551710f16e.tar.xz
gsoc2013-evolution-72766a6e2dd7c09455ae33b52d922b551710f16e.tar.zst
gsoc2013-evolution-72766a6e2dd7c09455ae33b52d922b551710f16e.zip
Bug 628483 - signature_combo_box_refresh_cb memory leak
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-signature-combo-box.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/misc/e-signature-combo-box.c b/widgets/misc/e-signature-combo-box.c
index 540a9e769d..e24cb14b7a 100644
--- a/widgets/misc/e-signature-combo-box.c
+++ b/widgets/misc/e-signature-combo-box.c
@@ -101,7 +101,7 @@ signature_combo_box_refresh_cb (ESignatureList *signature_list,
GtkTreePath *path;
const gchar *string;
- signature = iter->data;
+ signature = E_SIGNATURE (iter->data);
string = e_signature_get_name (signature);
gtk_list_store_append (store, &tree_iter);
@@ -116,6 +116,8 @@ signature_combo_box_refresh_cb (ESignatureList *signature_list,
gtk_tree_path_free (path);
}
+ g_list_free (list);
+
skip:
/* Restore the previously selected signature. */
signature = e_signature_combo_box_get_active (combo_box);