Dree
Dree copied to clipboard
Memory leak 75
Worked on memory leak issue - 75
The address sanitizer still reports several memory leaks. You can see it on your own by adding -fsanitize=address to:
https://github.com/ujjwall-R/Dree/blob/d0303ee957a841cf222f1b6e3f33a834c7b7bb48/Makefile#L4
Remember to run make clean.
From what I see, all of these problems can be resolved using std::unique_ptr.
Also, change the PR merge to dev branch. We will merge in main once we move for release after thorough testing.