gnucash stable: [import-match-picker.cpp] plug leaks

Christopher Lam clam at code.gnucash.org
Sun Jul 16 12:26:40 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/9dd4530d (commit)
	from  https://github.com/Gnucash/gnucash/commit/7f56b5cb (commit)



commit 9dd4530dc2a84121cb2f0a64374f348763a58e0c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Jul 17 00:19:42 2023 +0800

    [import-match-picker.cpp] plug leaks

diff --git a/gnucash/import-export/import-match-picker.cpp b/gnucash/import-export/import-match-picker.cpp
index 80d12dd726..673129a0c9 100644
--- a/gnucash/import-export/import-match-picker.cpp
+++ b/gnucash/import-export/import-match-picker.cpp
@@ -549,6 +549,8 @@ gnc_import_match_picker_run_and_close (GtkWidget *parent, GNCImportTransInfo *tr
                                              matcher->selected_match_info,
                                              TRUE);
     }
+    gnc_import_Settings_delete (matcher->user_settings);
+    g_free (matcher);
 }
 
 /** @} */



Summary of changes:
 gnucash/import-export/import-match-picker.cpp | 2 ++
 1 file changed, 2 insertions(+)



More information about the gnucash-changes mailing list