Running "make check" made this problem obvious, but it hadn't shown up in
my in-GUI testing.
subtable_num++;
t->table_num = table_num;
t->subtable_num = subtable_num;
subtable_num++;
t->table_num = table_num;
t->subtable_num = subtable_num;
- t->command_name = xstrdup (command_name);
+ t->command_name = command_name ? xstrdup (command_name) : NULL;
if (t->type == SOM_TABLE)
{
if (t->type == SOM_TABLE)
{