diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-04-09 16:01:16 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-04-16 06:32:33 -0700 |
commit | 2d4c39a885d4d12325d0a9be9e014e75a295fb25 (patch) | |
tree | ae41dbc1643deaf76ccadec0327b1474d5b8c1ad /zlib/contrib/delphi | |
parent | aa38e605634e5ce8357d610655d6eb72c3e7d2d2 (diff) | |
download | binutils-2d4c39a885d4d12325d0a9be9e014e75a295fb25.zip binutils-2d4c39a885d4d12325d0a9be9e014e75a295fb25.tar.gz binutils-2d4c39a885d4d12325d0a9be9e014e75a295fb25.tar.bz2 |
x86: Fix a memory leak in md_assemble
Fix a memory leak in md_assemble where copy may be cleared and may be
the same as copy:
if (copy && !mnem_suffix)
{
line = copy;
copy = NULL;
no_match:
* config/tc-i386.c (md_assemble): Properly free the xstrdup
memory.
Diffstat (limited to 'zlib/contrib/delphi')
0 files changed, 0 insertions, 0 deletions