Media Preflet: Don't leak paths.

This commit is contained in:
Stefano Ceccherini 2014-10-02 07:49:54 +02:00
parent d0fe638dbd
commit 8a65f8e900

View File

@ -20,6 +20,7 @@
#include <ScrollView.h>
#include <stdio.h>
#include <stdlib.h>
#undef B_TRANSLATION_CONTEXT
#define B_TRANSLATION_CONTEXT "Midi View"
@ -120,6 +121,8 @@ MidiSettingsView::_RetrieveSoftSynthList()
}
}
}
free(paths);
}