Index: trunk/src_plugins/io_lihata/write.c =================================================================== --- trunk/src_plugins/io_lihata/write.c (revision 38105) +++ trunk/src_plugins/io_lihata/write.c (revision 38106) @@ -682,7 +682,7 @@ lht_dom_hash_put(obj, geo); tbl = lht_dom_node_alloc(LHT_TABLE, "contour"); - tbl->data.table.cols = 2; + tbl->data.table.cols = tbl->data.table.cols_alloced = 2; lht_dom_list_append(geo, tbl); for(n = 0; n < poly->PointN; n++) { @@ -689,7 +689,7 @@ int row; if ((hole < poly->HoleIndexN) && (n == poly->HoleIndex[hole])) { tbl = lht_dom_node_alloc(LHT_TABLE, "hole"); - tbl->data.table.cols = 2; + tbl->data.table.cols = tbl->data.table.cols_alloced = 2; lht_dom_list_append(geo, tbl); hole++; }