mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Should return std::string
This is only used in C++, so there is no need to g_strdup in here. Also, this fixes a memory leak in KvpFrameImpl.
This commit is contained in:
@@ -35,7 +35,7 @@ test_kvp_get_slot (int run,
|
||||
{
|
||||
gchar* tmp;
|
||||
failure_args (msg, __FILE__, __LINE__, "run=%d", run);
|
||||
printf (" Value is %s\n", test_val2->to_string ());
|
||||
printf (" Value is %s\n", test_val2->to_string ().c_str ());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user