diff options
author | Tom Tromey <tom@tromey.com> | 2017-11-03 14:55:39 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-11-08 11:20:14 -0700 |
commit | 2f4732b0e622d9d5d899c29e2132e4cd2966aaad (patch) | |
tree | 436c8e4f7e095462880acf142f387d942aec206b /bfd/elfn32-mips.c | |
parent | f9d67a22392f8f52c779f68a2561eb35c2f86b81 (diff) | |
download | gdb-2f4732b0e622d9d5d899c29e2132e4cd2966aaad.zip gdb-2f4732b0e622d9d5d899c29e2132e4cd2966aaad.tar.gz gdb-2f4732b0e622d9d5d899c29e2132e4cd2966aaad.tar.bz2 |
Remove symbolp vector
This removes the symbolp typedef from dwarf2read.c and converts the
associated VEC uses to std::vector. This fixes a latent possible
memory leak if an exception were thrown, because there were no
cleanups installed for these VECs.
Regression tested on the buildbot.
gdb/ChangeLog
2017-11-08 Tom Tromey <tom@tromey.com>
* dwarf2read.c (symbolp): Remove typedef.
(read_func_scope): Use std::vector.
(process_structure_scope): Use std::vector.
Diffstat (limited to 'bfd/elfn32-mips.c')
0 files changed, 0 insertions, 0 deletions