1
0
Fork 0
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:
Mark Wielaard 2008-02-04 16:31:34 -07:00 committed by David Mosberger-Tang
parent f5cb2c52dc
commit 5ed2da2a40

View file

@ -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)
{