mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-07 22:36:52 +00:00
Fix CID 1191960
This commit is contained in:
parent
f762584982
commit
547ead1fb9
@ -170,14 +170,11 @@ static void handle_print_refptr (RCore *core, RDisasmState *ds);
|
||||
static void handle_print_ptr (RCore *core, RDisasmState *ds, int len, int idx);
|
||||
|
||||
|
||||
|
||||
|
||||
static int cmpaddr (void *_a, void *_b) {
|
||||
RAnalBlock *a = _a, *b = _b;
|
||||
return (a->addr > b->addr);
|
||||
}
|
||||
|
||||
|
||||
static RDisasmState * handle_init_ds (RCore * core) {
|
||||
RDisasmState * ds = R_NEW0(RDisasmState);
|
||||
ds->pal_comment = core->cons->pal.comment;
|
||||
@ -1036,6 +1033,10 @@ static int handle_print_meta_infos (RCore * core, RDisasmState *ds, ut8* buf, in
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (MI.str) {
|
||||
free (MI.str);
|
||||
MI.str = NULL;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user