Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r3.showdspf: Fix resource leak #2295

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

lbartoletti
Copy link
Contributor

Here, fp must be closed.

@wenzeslaus wenzeslaus added this to the 8.2.0 milestone Apr 7, 2022
@wenzeslaus wenzeslaus added bug Something isn't working C Related code is in C labels Apr 8, 2022
@wenzeslaus wenzeslaus merged commit c458350 into OSGeo:main Apr 8, 2022
@wenzeslaus wenzeslaus changed the title raster3d/r3.showdspf: fix resource leak r3.showdspf: Fix resource leak Apr 27, 2022
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
Add missing fclose before returning from the loadrect function when out of memory.
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
Add missing fclose before returning from the loadrect function when out of memory.
neteler pushed a commit to nilason/grass that referenced this pull request Nov 7, 2023
Add missing fclose before returning from the loadrect function when out of memory.
@lbartoletti lbartoletti deleted the fix_r3.showdspf_leak branch January 19, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working C Related code is in C
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants