memory leak in function 'parse_options'
JoraGevorgyan opened this issue · comments
Jora commented
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
Lukas Navickas commented
Leaks are of no importance for short running programs. They can actually improve performance as the OS reclaims the resources anyways.