gnucash maint: Another double g_object_unref in 998e14c1074

Christopher Lam clam at code.gnucash.org
Thu Sep 23 21:36:19 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/b6cbc978 (commit)
	from  https://github.com/Gnucash/gnucash/commit/8e144c2d (commit)



commit b6cbc97865f9ead7c35f31ecdef6da00d1d75c7f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 24 09:35:34 2021 +0800

    Another double g_object_unref in 998e14c1074

diff --git a/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp b/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp
index 243c832de..7328e89ca 100644
--- a/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp
+++ b/gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp
@@ -1564,7 +1564,6 @@ void CsvImpTransAssist::preview_refresh_table ()
     }
     gtk_tree_view_set_model (treeview, GTK_TREE_MODEL(store));
     gtk_tree_view_set_tooltip_column (treeview, PREV_COL_ERROR);
-    g_object_unref (store);
 
     /* Adjust treeview to go with the just created model. This consists of adding
      * or removing columns and resetting any parameters related to how



Summary of changes:
 gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp | 1 -
 1 file changed, 1 deletion(-)



More information about the gnucash-changes mailing list