gnucash/libgnucash
Geert Janssens 48b29f5e91 Fix memory leak in char* type KvpValue and fix improper uses
The core issue was that the delete visitor was never called because its parameter
type (char *) didn't match the boost::variant type (const char *).
Fixing the visitor's parameter type also require a const_cast
back to char * because that's what g_free takes as argument.

The rest of this commit is merely fixing KvpValue instantiations that
tried to create a char* KvpValue from a stack based const string instead
of a heap allocated one. That would bomb out on calling the
delete visitor.
2018-09-10 19:49:43 +02:00
..
app-utils Fix memory leak in char* type KvpValue and fix improper uses 2018-09-10 19:49:43 +02:00
backend Fix memory leak in char* type KvpValue and fix improper uses 2018-09-10 19:49:43 +02:00
core-utils Remove unused variable 2018-09-09 22:50:05 +02:00
doc Remove Timespec from pricedb. 2018-08-13 11:52:42 -07:00
engine Fix memory leak in char* type KvpValue and fix improper uses 2018-09-10 19:49:43 +02:00
gnc-module Lowercase cmake commands 2018-05-03 23:18:15 +02:00
quotes Lowercase cmake commands 2018-05-03 23:18:15 +02:00
scm Bug 794617 - Can't compile with -DWITH_GNUCASH=NO due to scm-gnome-utils 2018-06-07 14:17:49 -07:00
tax Lowercase cmake commands 2018-05-03 23:18:15 +02:00
CMakeLists.txt Lowercase cmake commands 2018-05-03 23:18:15 +02:00