Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leaks #89

Merged
merged 1 commit into from Sep 9, 2022
Merged

Fix memory leaks #89

merged 1 commit into from Sep 9, 2022

Conversation

falkTX
Copy link
Contributor

@falkTX falkTX commented Sep 7, 2022

As title says.
These were auto-detected by valgrind.

==890428== 64 bytes in 1 blocks are definitely lost in loss record 2,255 of 3,615
==890428==    at 0x6E8F2F3: operator new[](unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==890428==    by 0x19EC3EB: TrigsDisplay::TrigsDisplay() (Trigs.cpp:442)
==890428==    by 0x19E957E: TrigsWidget::TrigsWidget(Trigs*) (Trigs.cpp:614)
==890428==    by 0x19ED861: rack::CardinalPluginModel<Trigs, TrigsWidget>::createModuleWidget(rack::engine::Module*) (helpers.hpp:70)
==890428==    by 0x6B3ACD: CardinalDISTRHO::CardinalUI::uiIdle() (CardinalUI.cpp:491)
==890428==    by 0x6CA0FA: CardinalDISTRHO::UIExporter::plugin_idle() (DistrhoUIInternal.hpp:248)
==890428==    by 0x6C6368: CardinalDISTRHO::runSelfTests() (DistrhoPluginJACK.cpp:861)
==890428==    by 0x6C65AC: main (DistrhoPluginJACK.cpp:963)
==890428== 

==890428== 4 bytes in 1 blocks are definitely lost in loss record 6 of 3,615
==890428==    at 0x6E8F2F3: operator new[](unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==890428==    by 0x19BD96D: NoteSeqFu::NoteSeqFu() (NoteSeqFu.cpp:149)
==890428==    by 0x19C583D: rack::CardinalPluginModel<NoteSeqFu, NoteSeqFuWidget>::createModule() (helpers.hpp:52)
==890428==    by 0x6B39D9: CardinalDISTRHO::CardinalUI::uiIdle() (CardinalUI.cpp:484)
==890428==    by 0x6CA0FA: CardinalDISTRHO::UIExporter::plugin_idle() (DistrhoUIInternal.hpp:248)
==890428==    by 0x6C6368: CardinalDISTRHO::runSelfTests() (DistrhoPluginJACK.cpp:861)
==890428==    by 0x6C65AC: main (DistrhoPluginJACK.cpp:963)
==890428== 

Signed-off-by: falkTX <falktx@falktx.com>
@jeremywen jeremywen merged commit 49cab5d into jeremywen:master Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants