mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 16:47:38 +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 = mempool_alloc (&dwarf_cie_info_pool);
|
||||
if (!pi->unwind_info)
|
||||
return UNW_ENOMEM;
|
||||
return -UNW_ENOMEM;
|
||||
|
||||
if (dci.have_abi_marker)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue