src/snapshot.c
@@ -23,7 +23,7 @@ /* outputs additional data into paraview xml file */ ts_bool xml_trisurf_data(FILE *fh, ts_vesicle *vesicle){ ts_string *data=(ts_string *)malloc(sizeof(ts_sprintf)); ts_string *data=(ts_string *)malloc(sizeof(ts_string)); data->string=(char *)malloc(5120000*sizeof(char)); /*TODO: warning, can break if the string is to long */ data->beg=0;