https://sourceware.org/bugzilla/show_bug.cgi?id=30861
Bug ID: 30861 Summary: Memory leak Product: binutils Version: 2.15 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: jacob at jacob dot remcomp.fr Target Milestone: --- FUNCTION: riscv_insert_uleb128_fixes ABSTRACT: Variable exp_dup is allocated with xmemdup but never freed. FILE: tc-riscv.c line 4850 Within the loop for (fragP = seginfo->frchainP->frch_root; fragP; fragP = fragP->fr_next) { That variable is never freed, so we leak it at each iteration. -- You are receiving this mail because: You are on the CC list for the bug.