aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorMarcus Nilsson <brainbomb@gmail.com>2022-06-22 10:36:03 +0200
committerJan Beulich <jbeulich@suse.com>2022-06-22 10:36:03 +0200
commit4491a7c1aa356887a783c451a5e6cc708112b483 (patch)
tree4a13c268d4b2fa03b665c658a56e0f037312b4ba /binutils/dwarf.c
parent46439c90f2000edcb300c85ed843f8930752aed5 (diff)
downloadgdb-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