I set up visual leak detector with my code, and suddenly got loads of leaks, when Juce’s leak detector reported none.
Since all leaks from VLD seem to be from the same static function (), and I found some information on the internet on it reporting false positives sometimes, I though’t I’d check here to make sure that that’s the case.
I made a test program, with the code below, in the MainComponent constructor of my program, which is reported as leaking by VLD:
test_Value = 0.0;
test_label = test_Value.toString();
Where that last .toString() call is reported as responsible for 5 leaks.
Should I just ignore this as a false positive, or is there something wrong in my code above? I’m relatively new to C++, but I don’t see why that code should be leaking really
Oh, and I’m using the latest Juce modules, as of yesterday.