Fix build

This commit is contained in:
pancake 2017-08-08 18:23:47 +02:00
parent 4df4718b95
commit d56f19d654
2 changed files with 2 additions and 2 deletions

View File

@ -1423,7 +1423,7 @@ static int cmd_debug_map(RCore *core, const char *input) {
ptr = strdup (r_str_trim_head ((char*)input + 2));
if (!ptr || !*ptr) {
r_core_cmd (core, "dmm", 0);
return;
break;
}
i = r_str_word_set0 (ptr);
switch (i) {

View File

@ -86,7 +86,7 @@ static bool GH(r_resolve_jemalloc)(RCore *core, char *symname, ut64 *symbol) {
}
char *path = r_str_newf ("%s", jemalloc_ver_end);
if (r_file_exists (path)) {
vaddr = GH(je_get_va_symbol)(path, symname);
ut64 vaddr = GH(je_get_va_symbol)(path, symname);
if (jemalloc_addr != GHT_MAX && vaddr != 0) {
*symbol = jemalloc_addr + vaddr;
free (path);