]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Stack allocate buildsym_compunit in ctfread.c
authorTom Tromey <tom@tromey.com>
Sun, 14 Sep 2025 20:25:22 +0000 (14:25 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 5 Oct 2025 20:59:01 +0000 (14:59 -0600)
commit0bfd8b3910f0a0301aa01d272a7228d492c5a450
tree88d3cc3fa6b75b53b61ad3ea5e0e555033dcd08d
parentc4092c98cdaa7153dbf020759cbb2ba5c9162fcd
Stack allocate buildsym_compunit in ctfread.c

ctfread.c uses raw "new" and "delete", but for an object that could
just as easily be stack allocated.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/ctfread.c