mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-27 00:05:10 +00:00
config: fix double-free when setting bin.prefix more than once
This commit is contained in:
parent
0269d63ff1
commit
4c890d0b52
@ -1397,7 +1397,6 @@ static int cb_binprefix(void *user, void *data) {
|
||||
if (!core || !core->bin) {
|
||||
return false;
|
||||
}
|
||||
R_FREE (core->bin->prefix);
|
||||
if (node->value && *node->value) {
|
||||
if (!strcmp (node->value, "auto")) {
|
||||
if (!core->bin->file) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user