gnucash/libgnucash/backend/dbi
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
..
test Fix memory leak in char* type KvpValue and fix improper uses 2018-09-10 19:49:43 +02:00
.splintrc Cleanup some more obscure references to no longer existing 'src' directory 2017-08-11 22:44:50 +02:00
CMakeLists.txt Lowercase cmake commands 2018-05-03 23:18:15 +02:00
gnc-backend-dbi.cpp Fix test-backend-dbi for Postgress and MySQL. 2018-07-13 16:34:42 -07:00
gnc-backend-dbi.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-backend-dbi.hpp Bug 796117 - Connecting 3.1 to an existing mysql db drops all data 2018-06-02 16:21:49 -07:00
gnc-dbiprovider.hpp Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-dbiproviderimpl.hpp Bug 784623 - GNUCash does not work with sql backend. 2017-11-23 11:41:09 -08:00
gnc-dbisqlconnection.cpp Ensure all C++ class member raw pointers are default-initialized to nullptr. 2018-08-10 12:21:28 -07:00
gnc-dbisqlconnection.hpp Ensure all C++ class member raw pointers are default-initialized to nullptr. 2018-08-10 12:21:28 -07:00
gnc-dbisqlresult.cpp Make float database operations more consistent. 2018-06-02 16:16:41 -07:00
gnc-dbisqlresult.hpp Ensure all C++ class member raw pointers are default-initialized to nullptr. 2018-08-10 12:21:28 -07:00