]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf, string: remove movable refs properly
authorNick Alcock <nick.alcock@oracle.com>
Mon, 13 Jan 2025 14:49:14 +0000 (14:49 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 28 Feb 2025 15:13:23 +0000 (15:13 +0000)
commit69d4f6d74cff8916bdfefa221ef84d40ebe4b3e7
treeb49ccf5e756010e5b45e0013beaea7e0a740ca9f
parent21f748e1e34f9ec386834fb8dbf7581607fcccbe
libctf, string: remove movable refs properly

Ever since pending refs were replaced with movable refs, we were failing
to remove movable ref backpointers properly on ctf_remove_ref.  I don't
see how this could cause any problem but a memory leak, but since we
do ultimately write down refs, leaking references to refs is still
risky: best to fix this.
libctf/ctf-string.c