Removes another leak

This commit is contained in:
Mathias Buhr 2017-04-23 17:29:55 +02:00 committed by Harry van Haaren
parent c322bc83b4
commit a8741927f8

View file

@ -80,7 +80,7 @@ AudioEditor::AudioEditor()
for(int i = 0; i < 7; i++) { for(int i = 0; i < 7; i++) {
stringstream s; stringstream s;
s << i; s << i;
beatButtons[i] = new Avtk::Button(5 + i * 50, 160, 40,30, strdup(names[i]) ); beatButtons[i] = new Avtk::Button(5 + i * 50, 160, 40,30, names[i] );
} }
window->end(); window->end();