gnucash stable: Bug 799562 - Import Map Editor Non-Bayesian crashes gnucash

Robert Fewell bobit at code.gnucash.org
Sat Mar 8 06:03:26 EST 2025


Updated	 via  https://github.com/Gnucash/gnucash/commit/6f722be6 (commit)
	from  https://github.com/Gnucash/gnucash/commit/99506779 (commit)



commit 6f722be642bc75298d6e11d991db755791e9a76f
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sat Mar 8 11:01:27 2025 +0000

    Bug 799562 - Import Map Editor Non-Bayesian crashes gnucash
    
    Missing G_VALUE_INIT after recent change to function.

diff --git a/libgnucash/engine/qofinstance.cpp b/libgnucash/engine/qofinstance.cpp
index e2c63d636a..5e62dd2808 100644
--- a/libgnucash/engine/qofinstance.cpp
+++ b/libgnucash/engine/qofinstance.cpp
@@ -1343,7 +1343,7 @@ struct wrap_param
 static void
 wrap_gvalue_function (const char* key, KvpValue *val, wrap_param & param)
 {
-    GValue gv;
+    GValue gv = G_VALUE_INIT;
     if (val->get_type() != KvpValue::Type::FRAME)
         gvalue_from_kvp_value(val, &gv);
     else



Summary of changes:
 libgnucash/engine/qofinstance.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list