diff --git a/raster/r.mfilter/getfilt.c b/raster/r.mfilter/getfilt.c index 02762a5284f..809c958f0fa 100644 --- a/raster/r.mfilter/getfilt.c +++ b/raster/r.mfilter/getfilt.c @@ -158,5 +158,6 @@ FILTER *get_filter(char *name, int *nfilters, char *title) } *nfilters = count; + fclose(fd); return filter; }