Files
gnucash/libgnucash/engine
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
..
2017-12-21 07:39:32 -05:00
2017-09-10 19:16:38 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-09-01 12:07:38 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-08-13 16:19:39 -07:00
2018-08-13 16:19:39 -07:00
2017-12-21 07:39:32 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-12-21 07:39:32 -05:00
2017-08-10 18:45:00 +02:00
2018-08-13 11:52:42 -07:00
2018-08-13 11:52:42 -07:00
2018-08-13 11:52:42 -07:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-08-13 11:52:42 -07:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-08-13 11:52:42 -07:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-03-06 09:48:38 -08:00
2017-08-10 18:45:00 +02:00
2018-03-06 09:48:38 -08:00
2017-09-15 21:51:50 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-12-21 07:39:32 -05:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-02-19 15:25:53 +01:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2018-09-01 16:22:42 +02:00
2018-07-13 09:49:33 -07:00
2017-08-10 18:45:00 +02:00
2018-09-10 18:57:39 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00

This directory contains code for the accounting engine.
Its fairly clean but far from perfect, and it certainly
lacks advanced features.

There should be no GUI code in this subdirectory, and,
ideally, it should build cleanly and independently of 
any GUI elements or assumptions.

For design documentation, please see the file "design.txt",
and also, look at the header files carefully.  The documentation
for each routine is in the header files for that routine.

September 1998