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

memory leak in function 'parse_options' #1531

Closed
JoraGevorgyan opened this issue Sep 19, 2023 · 1 comment
Closed

memory leak in function 'parse_options' #1531

JoraGevorgyan opened this issue Sep 19, 2023 · 1 comment

Comments

@JoraGevorgyan
Copy link

The memory leak is reported by a static analyzer tool developed at CAST
the allocated memory will left without free when the function fails to allocated another one, because in function 'ag_malloc' it checks if memory is not allocated and exits whole program

@plaukiu
Copy link

plaukiu commented Feb 11, 2024

Leaks are of no importance for short running programs. They can actually improve performance as the OS reclaims the resources anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants