[Bug ld/28448] Memory leak in function add_symbols(plugin.c) from bfd linker

2021-10-13 Thread yuxian.chen at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28448 yuxian.chen at intel dot com changed: What|Removed |Added Summary|Memory leak in |Memory leak in function

[Bug ld/28448] Memory leak in add_symbols(plugin.c)

2021-10-13 Thread yuxian.chen at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28448 yuxian.chen at intel dot com changed: What|Removed |Added CC||yuxian.chen at intel

[Bug ld/28448] New: Memory leak in add_symbols(plugin.c)

2021-10-13 Thread yuxian.chen at intel dot com
Assignee: unassigned at sourceware dot org Reporter: yuxian.chen at intel dot com Target Milestone: --- BFD linker allocates memory to store symbols but the memory is not freed after add_symbols function is done. Memory leak issue can be seen by running Valgrind. How to