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

v.in.dxf: Fix Resource Leak issue in read_dxf.c #5012

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

ShubhamDesai
Copy link
Contributor

This pull request fixes issue identified by Coverity Scan (CID : 1207848)
Used G_free() to fix this issue.

@github-actions github-actions bot added vector Related to vector data processing C Related code is in C module labels Jan 30, 2025
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

@nilason nilason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion a bit too defensive to check for results of G_malloc and G_store here, but not wrong.

@nilason nilason added this to the 8.5.0 milestone Jan 31, 2025
@echoix echoix merged commit be75a1d into OSGeo:main Jan 31, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C Related code is in C module vector Related to vector data processing
Projects
Development

Successfully merging this pull request may close these issues.

3 participants