mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 17:17:39 +01:00
(parse_dynamic): Free old state-record before creating new one.
(Logical change 1.182)
This commit is contained in:
parent
2fc4fd6e48
commit
2cdea99143
1 changed files with 1 additions and 0 deletions
|
@ -868,6 +868,7 @@ parse_dynamic (struct cursor *c, struct ia64_state_record *sr)
|
|||
ret = ia64_fetch_proc_info (c, new_ip, 1);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
ia64_free_state_record (&sr);
|
||||
return create_state_record_for (c, sr, new_ip);
|
||||
|
||||
case UNW_DYN_STOP:
|
||||
|
|
Loading…
Reference in a new issue