m.last_line = lex_get_last_line_number (lexer, 0);
}
- m.command_name = CONST_CAST (char *, output_get_command_name ());
+ m.command_name = output_get_command_name ();
message_item_submit (message_item_create (&m));
+
+ free (m.command_name);
}
static void