diff options
author | Marcus Nilsson <brainbomb@gmail.com> | 2022-06-22 10:36:03 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-06-22 10:36:03 +0200 |
commit | 4491a7c1aa356887a783c451a5e6cc708112b483 (patch) | |
tree | 4a13c268d4b2fa03b665c658a56e0f037312b4ba /binutils/dwarf.c | |
parent | 46439c90f2000edcb300c85ed843f8930752aed5 (diff) | |
download | gdb-4491a7c1aa356887a783c451a5e6cc708112b483.zip gdb-4491a7c1aa356887a783c451a5e6cc708112b483.tar.gz gdb-4491a7c1aa356887a783c451a5e6cc708112b483.tar.bz2 |
readelf: replace xmalloc with malloc in slurp_relr_relocs
Using xmalloc makes the null check redundant since failing allocation
will exit the program. Instead use malloc and let the error be
conveyed up the call chain.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions