Commit f4bc4c54 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdiwrite: change free sequence

parent d3fa2b83
......@@ -245,8 +245,8 @@ void *CDIwrite(void *argument)
for ( varID = 0; varID < nvars; varID++ )
{
free(vars[varID]);
for ( levelID = 0; levelID < nlevs; levelID++ ) free(vars[varID][levelID]);
free(vars[varID]);
}
free(vars);
......
Supports Markdown
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