mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-01 19:23:04 +00:00
fix double free on register
closes #4634
can we please review/revert/something
4c04b98b47 (diff-fa45250699a39a7bffd1e27da12ec5beR40)
i'm fearful this has broken a lot more stuff
This commit is contained in:
parent
adc9922c6a
commit
6b17cfc55a
@ -37,7 +37,7 @@ R_API bool r_debug_use(RDebug *dbg, const char *str) {
|
||||
if (p) {
|
||||
r_reg_set_profile_string (dbg->reg, p);
|
||||
if (dbg->anal) {
|
||||
r_reg_free (dbg->anal->reg);
|
||||
//r_reg_free (dbg->anal->reg);
|
||||
dbg->anal->reg = dbg->reg;
|
||||
}
|
||||
if (dbg->h->init)
|
||||
|
Loading…
x
Reference in New Issue
Block a user