[Bug ld/26836] New: potential memory leak in parse_args
https://sourceware.org/bugzilla/show_bug.cgi?id=26836 Bug ID: 26836 Summary: potential memory leak in parse_args Product: binutils Version: 2.34 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld
memory leak at ld parse_args
Use sanitizer for test and result shows that there are memory leak at parse_args function. Test case: #include 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_lo