dustinlacewell / vcv-minilab3

6 stars 0 forks source link

Memory Leak #1

Open squinkylabs opened 1 year ago

squinkylabs commented 1 year ago

The objects (structs) have no destructors to delete any of these things when your plugin goes away, so everything will leak.

Something like this applied to all dynamically created members would fix it:

MiniLog::~MidiLog() {
delete (binder);
}