From a8741927f88cb770e4bbc4cdb0732ab779882c3c Mon Sep 17 00:00:00 2001 From: Mathias Buhr Date: Sun, 23 Apr 2017 17:29:55 +0200 Subject: [PATCH] Removes another leak --- src/gaudioeditor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gaudioeditor.cxx b/src/gaudioeditor.cxx index e0f08f0..cc30b3e 100644 --- a/src/gaudioeditor.cxx +++ b/src/gaudioeditor.cxx @@ -80,7 +80,7 @@ AudioEditor::AudioEditor() for(int i = 0; i < 7; i++) { stringstream s; 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();