[balsa] Plug leak



commit 2566f0739e0e3225cb548d943054cc23f57bb12a
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri May 26 18:29:32 2017 -0400

    Plug leak
    
        * src/sendmsg-window.c (sendmsg_window_new): free ui_file
        string.

 ChangeLog            |    7 +++++++
 src/sendmsg-window.c |    1 +
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2f93f33..6203b46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-05-26  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       Plug leak
+
+       * src/sendmsg-window.c (sendmsg_window_new): free ui_file
+       string.
+
 2017-05-26  Albrecht DreƟ
 
        Test whether we can reach an SMTP server
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index 08b5964..748d685 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -6640,6 +6640,7 @@ sendmsg_window_new()
                                            win_entries,
                                            G_N_ELEMENTS(win_entries),
                                            ui_file, &error, bsmsg);
+    g_free(ui_file);
     if (error) {
         g_print("%s %s\n", __func__, error->message);
         g_error_free(error);


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