Commit 0b212350 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

missing free

parent f5ae26b2
Pipeline #3895 passed with stage
in 58 seconds
......@@ -59,6 +59,7 @@ int fluid_problem_import_vtk(FluidProblem *problem, const char *filename)
int ncon = -1;
while(mb_read_vtk_data_array(r,&a) != 0){
if(!strcasecmp(a.name,"Connectivity")) {
free(m->elements);
m->elements = mb_vtk_data_array_to_int(&a,m->n_elements,DIMENSION+1);
mb_vtk_data_array_destroy(&a);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment