mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-18 02:51:41 +01:00
[DWARF] Fix error return.
* src/dwarf/Gfde.c (dwarf_extract_proc_info_from_fde): Return -UNW_ENOMEM.
This commit is contained in:
parent
f5cb2c52dc
commit
5ed2da2a40
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ dwarf_extract_proc_info_from_fde (unw_addr_space_t as, unw_accessors_t *a,
|
||||||
pi->unwind_info_size = sizeof (dci);
|
pi->unwind_info_size = sizeof (dci);
|
||||||
pi->unwind_info = mempool_alloc (&dwarf_cie_info_pool);
|
pi->unwind_info = mempool_alloc (&dwarf_cie_info_pool);
|
||||||
if (!pi->unwind_info)
|
if (!pi->unwind_info)
|
||||||
return UNW_ENOMEM;
|
return -UNW_ENOMEM;
|
||||||
|
|
||||||
if (dci.have_abi_marker)
|
if (dci.have_abi_marker)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue