From 5809cd0b8e1db10691a6eae743063a85ea20b46f Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 15 Oct 2015 17:37:15 +0100 Subject: [PATCH] Added assertion --- src/grib_accessor_class_global_gaussian.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/grib_accessor_class_global_gaussian.c b/src/grib_accessor_class_global_gaussian.c index 25c8fd49a..15b8aceff 100644 --- a/src/grib_accessor_class_global_gaussian.c +++ b/src/grib_accessor_class_global_gaussian.c @@ -333,6 +333,7 @@ static int pack_long(grib_accessor* a, const long* val, size_t *len) max_pl = pl[0]; for (i=1; i 0 ); if (pl[i] > max_pl) max_pl = pl[i]; } grib_context_free(c, pl);