rtmidi_get_port_name() should return duplicate of the c_str().