[evolution] Bug 628483 - signature_combo_box_refresh_cb memory leak
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 628483 - signature_combo_box_refresh_cb memory leak
- Date: Wed, 1 Sep 2010 11:13:00 +0000 (UTC)
commit 72766a6e2dd7c09455ae33b52d922b551710f16e
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Sep 1 07:12:35 2010 -0400
Bug 628483 - signature_combo_box_refresh_cb memory leak
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 540a9e7..e24cb14 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]