I’m new to juce, and a bit rusty with c++. I’ve got the sample apps in the extras folder running, but soon after I tried a component created with The Jucer - I got a leaked object detected. Nice feature to have by the way, to notify rusty programmers that they have gotten sloppy.
What did I forget to do? I created a textButton with addAndMakeVisible in my component’s creator, and the destructor calls deleteAndZero.
Eventually, my idea is to have an array of pointers to the dynamic objects I’m creating, to “free” them in the destructor.
I’m hoping to line these objects up in rows and resize them as their parent window resizes.
I know this is some basic stuff, but any suggestions would be helpfull. Including a referance to any juce related tutorial, or a sample application.