diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2023-03-13 17:36:33 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2023-03-24 13:37:32 +0000 |
commit | 04d91c807eaf4395472409a53e2acd9ad89683f0 (patch) | |
tree | ac74afb91886e0173cb210815605c31621b56263 /libctf/testsuite | |
parent | cce0bb8ff8a4922da4318a3654f68cfabb4c3ec8 (diff) | |
download | binutils-04d91c807eaf4395472409a53e2acd9ad89683f0.zip binutils-04d91c807eaf4395472409a53e2acd9ad89683f0.tar.gz binutils-04d91c807eaf4395472409a53e2acd9ad89683f0.tar.bz2 |
libctf: fix a comment typo
ctf_dedup's intern() function does not return a dynamically allocated
string, so I just spent ten minutes auditing for obvious memory leaks
that couldn't actually happen. Update the comment to note what it
actually returns (a pointer into an atoms table: i.e. possibly not
a new string, and not so easily leakable).
libctf/
* ctf-dedup.c (intern): Update comment.
Diffstat (limited to 'libctf/testsuite')
0 files changed, 0 insertions, 0 deletions