Skip to content

Commit

Permalink
Merge branch 'develop' into bugfix/dumper_thread_safety
Browse files Browse the repository at this point in the history
  • Loading branch information
joobog committed Jan 14, 2025
2 parents d46102b + d384672 commit 5bbdaf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geo/iterator/grib_iterator_class_gaussian_reduced.cc
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,10 @@ int GaussianReduced::init(grib_handle* h, grib_arguments* args)

grib_get_long_array_internal(h, spl, pl, &plsize);

lats_ = (double*)grib_context_malloc(h->context, nv_ * sizeof(double));
lats_ = (double*)grib_context_malloc_clear(h->context, nv_ * sizeof(double));
if (!lats_)
return GRIB_OUT_OF_MEMORY;
lons_ = (double*)grib_context_malloc(h->context, nv_ * sizeof(double));
lons_ = (double*)grib_context_malloc_clear(h->context, nv_ * sizeof(double));
if (!lons_)
return GRIB_OUT_OF_MEMORY;

Expand Down

0 comments on commit 5bbdaf8

Please sign in to comment.