Dree icon indicating copy to clipboard operation
Dree copied to clipboard

Memory leak 75

Open supraja777 opened this issue 1 year ago • 2 comments

Worked on memory leak issue - 75

supraja777 avatar Oct 05 '24 02:10 supraja777

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.

vil02 avatar Oct 05 '24 20:10 vil02

Also, change the PR merge to dev branch. We will merge in main once we move for release after thorough testing.

ujjwall-R avatar Oct 06 '24 15:10 ujjwall-R