[evolution] Fix memory leaks from a commit for bug #508744



commit a9b96e5ae15d13d204e7bef5da283bb34154d9c8
Author: Milan Crha <mcrha redhat com>
Date:   Mon Mar 24 19:30:36 2014 +0100

    Fix memory leaks from a commit for bug #508744
    
    I missed that part when copying the code from a test program I cooked.

 mail/e-mail-config-security-page.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-config-security-page.c b/mail/e-mail-config-security-page.c
index 47d10ca..4f0dc4b 100644
--- a/mail/e-mail-config-security-page.c
+++ b/mail/e-mail-config-security-page.c
@@ -265,6 +265,9 @@ mail_security_page_get_openpgpg_combo (void)
                }
        }
 
+       g_list_free (keys);
+       g_object_unref (keyset);
+
        widget = gtk_combo_box_new_with_model_and_entry (GTK_TREE_MODEL (store));
        g_object_unref (store);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]