We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72bec87 commit 44a23daCopy full SHA for 44a23da
libr/core/disasm.c
@@ -1208,8 +1208,10 @@ static void ds_build_op_str(RDisasmState *ds, bool print_color) {
1208
}
1209
if (ds->pseudo) {
1210
if (r_parse_parse (core->parser, ds->opstr, ds->str)) {
1211
- free (ds->opstr);
1212
- ds->opstr = strdup (ds->str);
+ if (R_STR_ISNOTEMPTY (ds->str)) {
+ free (ds->opstr);
1213
+ ds->opstr = strdup (ds->str);
1214
+ }
1215
1216
1217
if (ds->subjmp) {
0 commit comments