Fix Valgrind memory errors#1246
Conversation
|
CLANG-FORMAT TEST - FAILED (on last commit): |
|
CMAKE-FORMAT TEST - PASSED |
|
Status Flag 'Pre-Test Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging |
|
CLANG-FORMAT TEST - FAILED (on last commit): |
|
CMAKE-FORMAT TEST - PASSED |
|
Status Flag 'Pre-Test Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging |
This fixes some Valgrind errors, namely uninitialized data and memory leaks, but there are still "definite" leaks, some of which are caused by classes containing pointers being destroyed without deleting the pointers, even if it does not occur until program exit.
Some of the fixed errors are listed below.