diff --git a/src/preferences/media/MidiSettingsView.cpp b/src/preferences/media/MidiSettingsView.cpp index b6df74bbe8..340b2d0011 100644 --- a/src/preferences/media/MidiSettingsView.cpp +++ b/src/preferences/media/MidiSettingsView.cpp @@ -20,6 +20,7 @@ #include #include +#include #undef B_TRANSLATION_CONTEXT #define B_TRANSLATION_CONTEXT "Midi View" @@ -120,6 +121,8 @@ MidiSettingsView::_RetrieveSoftSynthList() } } } + + free(paths); }