mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 15:10:53 +00:00
Fix memleak in 'ood'
This commit is contained in:
parent
7a7c0a7bfb
commit
5df2109526
@ -1221,6 +1221,8 @@ R_API void r_core_file_reopen_debug(RCore *core, const char *args) {
|
||||
int bits = core->rasm->bits;
|
||||
char *bin_abspath = r_file_abspath (binpath);
|
||||
if (strstr (bin_abspath, "://")) {
|
||||
free (bin_abspath);
|
||||
free (binpath);
|
||||
return;
|
||||
}
|
||||
char *escaped_path = r_str_arg_escape (bin_abspath);
|
||||
|
Loading…
Reference in New Issue
Block a user