Use sanitizer for test and result shows that there are memory leak at 
parse_args function.

Test case:


#include <stdio.h>

int main()
{
    printf("Hello world!\n");
    return 0;
}


binutils version 2.34

Checked on the source code, I did not see any free action on below shortopts, 
longopts, really_longopts variable.

[cid:image001.png@01D6B227.70106680]

Reply via email to