1
0
Fork 0
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:
hp.com!davidm 2004-03-19 02:35:27 +00:00
parent 2fc4fd6e48
commit 2cdea99143

View file

@ -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: