From 6fb7c21a2d7c9fb799ad174d84506e756e7240f1 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 20 Aug 2021 16:09:41 +0100 Subject: [PATCH] Memory leak --- src/grib_fieldset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/grib_fieldset.c b/src/grib_fieldset.c index 5bf49f205..91e85929d 100644 --- a/src/grib_fieldset.c +++ b/src/grib_fieldset.c @@ -423,6 +423,7 @@ int grib_fieldset_apply_where(grib_fieldset* set, const char* where_string) print_math(m); printf("\n"); + grib_math_delete(set->context, m); return err; }