mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-04 12:36:30 +00:00
Fix CID 1191360
This commit is contained in:
parent
3a4ab6442e
commit
f9941829f2
@ -514,7 +514,10 @@ static int cmd_kuery(void *data, const char *input) {
|
||||
inp [(size_t)(sp-input)] = 0;
|
||||
s = sdb_ns (core->sdb, inp+1);
|
||||
out = sdb_querys (s, NULL, 0, sp+1);
|
||||
if (out) r_cons_printf ("%s\n", out);
|
||||
if (out) {
|
||||
r_cons_printf ("%s\n", out);
|
||||
free (out);
|
||||
}
|
||||
free (inp);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user