diff options
author | Alan Modra <amodra@gmail.com> | 2022-08-17 15:48:21 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-08-17 16:35:57 +0930 |
commit | 7a1bc25b9d2c3f066000d07b5254d20367b6da0f (patch) | |
tree | fcc1acd2e56adc4cc8546895463ac70b6a1ce41c /gdb/testsuite/gdb.python/py-objfile-script.c | |
parent | 2bda15d73cb1d6c4e3db402682d4c11a94d96b7b (diff) | |
download | binutils-7a1bc25b9d2c3f066000d07b5254d20367b6da0f.zip binutils-7a1bc25b9d2c3f066000d07b5254d20367b6da0f.tar.gz binutils-7a1bc25b9d2c3f066000d07b5254d20367b6da0f.tar.bz2 |
mmo.c leak in mmo_make_section
* mmo.c (mmo_make_section): Alloc name using bfd_alloc. Use
bfd_error_no_memory.
(mmo_decide_section): Check for NULL return from mmo_make_section.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-objfile-script.c')
0 files changed, 0 insertions, 0 deletions