summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/midi_ui.cc')
-rw-r--r--libs/ardour/midi_ui.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/midi_ui.cc b/libs/ardour/midi_ui.cc
index fecbf9b8e3..2b39d6c032 100644
--- a/libs/ardour/midi_ui.cc
+++ b/libs/ardour/midi_ui.cc
@@ -154,9 +154,7 @@ MidiControlUI::thread_init ()
{
struct sched_param rtparam;
- char* c = new char[7];
- strcpy (c, X_("midiUI"));
- pthread_set_name (c);
+ pthread_set_name (X_("midiUI"));
PBD::notify_gui_about_thread_creation (X_("gui"), pthread_self(), X_("MIDI"), 2048);
SessionEvent::create_per_thread_pool (X_("MIDI I/O"), 128);