1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-14 12:18:12 +01:00

The call to put_unwind_info is what makes pi invalid, so clear the

valid bit here, and soon stop bothering to clear it in other places.
This commit is contained in:
Doug Moore 2017-05-08 19:02:40 -05:00
parent 1c76d41939
commit 04db2b7cea

View file

@ -499,6 +499,7 @@ put_unwind_info (struct dwarf_cursor *c, unw_proc_info_t *pi)
mempool_free (&dwarf_cie_info_pool, pi->unwind_info); mempool_free (&dwarf_cie_info_pool, pi->unwind_info);
pi->unwind_info = NULL; pi->unwind_info = NULL;
} }
c->pi_valid = 0;
} }
static inline int static inline int