WSL/SLF GitLab Repository

Commit 7f9559c9 authored by Thomas Egger's avatar Thomas Egger
Browse files

NetCDFIO: Possible leak fixed.

parent 1849390e
......@@ -1120,6 +1120,8 @@ void NetCDFIO::check_consistency(const int& ncid, const Grid2DObject& grid, doub
if (lon_array[ii] != lon[ii])
throw IOException("Error while writing grid - grid and lat/lon coordinates are inconsistent", AT);
}
delete[] lat; delete[] lon;
}
//
......
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