From f1160c924c2853b1f7406e8976d48096c471c06c Mon Sep 17 00:00:00 2001 From: Markus Metz Date: Fri, 30 Jun 2023 14:42:36 +0200 Subject: [PATCH] backport PR #3069 to G82 --- raster/r.resamp.bspline/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/raster/r.resamp.bspline/main.c b/raster/r.resamp.bspline/main.c index 46d28cd174b..047a33f47df 100644 --- a/raster/r.resamp.bspline/main.c +++ b/raster/r.resamp.bspline/main.c @@ -707,6 +707,8 @@ int main(int argc, char *argv[]) else { if (observ) G_free(observ); + if (observ_marked) + G_free(observ_marked); if (npoints == 0) G_warning(_("No data within this subregion. " "Consider increasing the spline step."));