mirror of https://github.com/ecmwf/eccodes.git
Testing: Clean up memory leaks etc
This commit is contained in:
parent
38db6c8f65
commit
63aceccca5
|
@ -849,6 +849,6 @@ int main (int argc, char * argv[])
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
free(trunc[1].values);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -844,7 +844,7 @@ int main (int argc, char * argv[])
|
|||
|
||||
for (igrid = 0; igrid < 3; igrid++)
|
||||
{
|
||||
GRIB_CHECK (((h = grib_handle_new_from_samples (NULL, "reduced_gg_ml_grib2")) == NULL), 0);
|
||||
GRIB_CHECK (((h = grib_handle_new_from_samples (NULL, "regular_ll_pl_grib2")) == NULL), 0);
|
||||
len = strlen ("lambert_lam");
|
||||
GRIB_CHECK (grib_set_string (h, "gridType", "lambert_lam", &len), 0);
|
||||
GRIB_CHECK (grib_set_long (h, "centre", 85), 0);
|
||||
|
|
Loading…
Reference in New Issue