[balsa] balsa-app: Free the list of POP3 mailboxes



commit a686319dcaadd8e3d8c736e2bf978d64962e677c
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Thu Feb 14 15:50:44 2019 -0500

    balsa-app: Free the list of POP3 mailboxes
    
    and unref them.

 src/balsa-app.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/balsa-app.c b/src/balsa-app.c
index 583e6093f..6bc80f15d 100644
--- a/src/balsa-app.c
+++ b/src/balsa-app.c
@@ -435,6 +435,10 @@ balsa_app_destroy(void)
     g_list_free(balsa_app.identities);
     balsa_app.identities = NULL;
 
+    g_list_foreach(balsa_app.inbox_input, (GFunc)g_object_unref, NULL);
+    g_list_free(balsa_app.inbox_input);
+    balsa_app.inbox_input = NULL;
+
 
     g_list_foreach(balsa_app.folder_mru, (GFunc)g_free, NULL);
     g_list_free(balsa_app.folder_mru);


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