/* PSPP - a program for statistical analysis.
- Copyright (C) 2010 Free Sonftware Foundation, Inc.
+ Copyright (C) 2010 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
item = xmalloc (sizeof *msg);
output_item_init (&item->output_item, &message_item_class);
item->msg = msg_dup (msg);
- item->command_name = NULL;
return item;
}
{
struct message_item *item = to_message_item (output_item);
msg_destroy (item->msg);
- free (item->command_name);
free (item);
}
const struct output_item_class message_item_class =
{
+ "message",
message_item_destroy,
};