From 72766a6e2dd7c09455ae33b52d922b551710f16e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 1 Sep 2010 07:12:35 -0400 Subject: Bug 628483 - signature_combo_box_refresh_cb memory leak --- widgets/misc/e-signature-combo-box.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'widgets') 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); -- cgit