Files
gnucash/libgnucash/engine
Richard Cohen f1a3f2a8c8 Valgrind: fix "Mismatched free/delete" - test-scm-query etc.
- test-scm-query
- test-print-queries
- test-scm-query-string

==14597== Mismatched free() / delete / delete []
==14597==    at 0x484620F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==14597==    by 0x118851: free_random_guids(_GList*) (test-engine-stuff.cpp:1505)
==14597==    by 0x118CF5: get_random_query (test-engine-stuff.cpp:1674)
...
==14597==  Address 0xa1366a0 is 0 bytes inside a block of size 16 alloc'd
==14597==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==14597==    by 0x5342FA6: guid_malloc (guid.cpp:106)
==14597==    by 0x534300D: guid_copy (guid.cpp:123)
==14597==    by 0x534311F: guid_new (guid.cpp:154)
==14597==    by 0x115D1A: get_random_guid (test-engine-stuff.cpp:207)
==14597==    by 0x1187FA: get_random_guids(int) (test-engine-stuff.cpp:1494)
==14597==    by 0x118CC0: get_random_query (test-engine-stuff.cpp:1668)
...

==15045== Mismatched free() / delete / delete []
==15045==    at 0x484620F: free (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==15045==    by 0x118E96: get_random_query (test-engine-stuff.cpp:1735)
...
==15045==  Address 0xa077d40 is 0 bytes inside a block of size 16 alloc'd
==15045==    at 0x4843FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==15045==    by 0x5342FA6: guid_malloc (guid.cpp:106)
==15045==    by 0x534300D: guid_copy (guid.cpp:123)
==15045==    by 0x534311F: guid_new (guid.cpp:154)
==15045==    by 0x115D1A: get_random_guid (test-engine-stuff.cpp:207)
==15045==    by 0x118E65: get_random_query (test-engine-stuff.cpp:1730)
...
2023-06-21 10:36:25 +01:00
..
2023-05-13 13:00:25 +01:00
2021-03-02 01:15:32 +01:00
2021-03-02 01:15:32 +01:00
2021-03-02 01:15:32 +01:00
2021-03-02 01:15:32 +01:00
2017-08-10 18:45:00 +02:00
2023-06-06 15:40:36 +01:00
2023-06-08 14:30:28 +01:00
2017-08-10 18:45:00 +02:00
2023-04-28 16:31:07 -07:00
2023-02-16 09:19:19 +00:00
2017-08-10 18:45:00 +02:00
2021-03-02 01:15:32 +01:00
2023-03-30 18:25:23 -07:00
2023-01-26 18:40:44 +08:00
2017-08-10 18:45:00 +02:00
2023-02-06 14:20:31 +00:00
2021-03-02 01:15:32 +01:00
2023-01-24 13:22:18 +00:00
2017-08-10 18:45:00 +02:00
2023-01-26 18:40:44 +08:00
2018-09-23 16:00:41 +02:00
2023-01-24 13:22:18 +00:00
2018-09-23 16:00:41 +02:00
2023-01-26 18:40:44 +08:00
2023-05-15 20:03:23 +01:00
2023-01-26 18:40:44 +08:00
2017-08-10 18:45:00 +02:00
2023-01-24 13:22:18 +00:00
2021-03-02 01:15:32 +01:00
2018-09-23 16:00:41 +02:00
2023-01-26 18:40:44 +08:00
2018-09-23 16:00:41 +02:00
2023-03-03 18:55:42 +00:00
2021-03-02 01:15:32 +01:00
2022-04-14 18:02:17 -07:00
2023-02-16 09:20:59 +00:00
2023-01-24 13:22:18 +00:00
2023-01-23 18:40:01 +00:00
2021-03-02 01:15:32 +01:00
2017-08-10 18:45:00 +02:00
2023-04-28 16:31:07 -07:00
2021-02-16 13:23:16 -08:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2021-02-16 13:23:16 -08:00
2021-03-02 01:15:32 +01:00
2017-08-10 18:45:00 +02:00
2021-02-16 13:23:16 -08:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2023-03-03 18:55:42 +00:00
2023-03-03 18:55:42 +00:00
2017-08-10 18:45:00 +02:00
2023-02-16 09:20:59 +00:00
2021-03-02 01:15:32 +01:00
2017-08-10 18:45:00 +02:00
2022-04-08 14:12:50 -04:00
2023-05-13 13:00:25 +01:00
2023-05-15 13:21:30 +01:00
2017-08-10 18:45:00 +02:00
2021-03-02 01:15:32 +01:00
2018-07-13 09:49:33 -07:00
2023-01-26 18:40:44 +08:00
2023-02-27 16:24:44 -08: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