diff options
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-signature-combo-box.c | 4 |
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); |