[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/23938] should not free memory alloced in obstack by free()
From: |
amodra at gmail dot com |
Subject: |
[Bug gas/23938] should not free memory alloced in obstack by free() |
Date: |
Fri, 30 Nov 2018 10:13:26 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23938
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-11-30
CC| |amodra at gmail dot com
Ever confirmed|0 |1
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
This bug has existed since 1996, git commit c7a89bde9b7.
You can't simply call obstack_free though, since obstack_free frees all more
recently allocated memory on the obstack as well as its arg (and obstack_free
takes an obstack arg too).
--
You are receiving this mail because:
You are on the CC list for the bug.