[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/30861] New: Memory leak
From: |
jacob at jacob dot remcomp.fr |
Subject: |
[Bug gas/30861] New: Memory leak |
Date: |
Sat, 16 Sep 2023 10:20:57 +0000 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/30861] New: Memory leak,
jacob at jacob dot remcomp.fr <=