Skip to content

Commit

Permalink
Fix resource leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Vasudeo Desai committed Nov 9, 2024
1 parent 8c4f244 commit 4b803b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions raster/r.mfilter/getfilt.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,6 @@ FILTER *get_filter(char *name, int *nfilters, char *title)
}

*nfilters = count;
fclose(fd);
return filter;
}

0 comments on commit 4b803b2

Please sign in to comment.