Fix glitch iterating script files provided via -i ##shell

This commit is contained in:
pancake 2023-10-09 12:24:44 +02:00
parent b336b6c2c8
commit 7e9cc21922

View File

@ -795,7 +795,7 @@ R_API int r_main_radare2(int argc, const char **argv) {
ret = 1;
goto beach;
}
r_list_append (files, (void*)opt.arg);
r_list_append (files, strdup (opt.arg));
break;
case 'I':
if (R_STR_ISEMPTY (opt.arg)) {