free (column_enumeration);
free (row_enumeration);
- struct table_item *ti = table_item_create (table, NULL, NULL, pt->notes);
+ struct table_item *ti = table_item_create (table);
+
+ if (pt->notes)
+ table_item_set_notes (ti, pt->notes);
if (pt->title)
{