mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-06 13:37:07 +00:00
Fix crashes related to sdb
This commit is contained in:
parent
bf98a3c531
commit
24e6111f1e
@ -658,7 +658,7 @@ R_API RCore *r_core_fini(RCore *c) {
|
||||
r_anal_free (c->anal);
|
||||
r_asm_free (c->assembler);
|
||||
r_print_free (c->print);
|
||||
r_bin_free (c->bin);
|
||||
// r_bin_free (c->bin); // XXX segfaults rabin2 -c
|
||||
//r_lang_free (c->lang); // XXX segfaults
|
||||
r_debug_free (c->dbg);
|
||||
r_config_free (c->config);
|
||||
|
@ -141,7 +141,7 @@ static void walk_namespace (StrBuf *sb, char *root, int left, char *p, SdbNs *ns
|
||||
|
||||
SDB_API char *sdb_querys (Sdb *r, char *buf, size_t len, const char *_cmd) {
|
||||
int i, d, ok, w, alength, bufset = 0, is_ref = 0, encode = 0;
|
||||
char *eq, *tmp, *json, *next, *quot, *arroba, *res, *cmd, *newcmd;
|
||||
char *eq, *tmp, *json, *next, *quot, *arroba, *res, *cmd, *newcmd = NULL;
|
||||
const char *p, *q, *val = NULL;
|
||||
StrBuf *out;
|
||||
Sdb *s = r;
|
||||
|
Loading…
x
Reference in New Issue
Block a user