Fix last covs

This commit is contained in:
pancake 2024-10-01 11:31:28 +02:00
parent 9968329d49
commit ff8c883316
3 changed files with 6 additions and 2 deletions

View File

@ -239,7 +239,8 @@ static int assemble_clr(char tokens[][256], int num_tokens, ut8* buf, int size)
static int assemble_bchg(char tokens[][256], int num_tokens, ut8* buf, int size) {
if (size < 2 || num_tokens != 3) {
}return 0;
return 0;
}
// tokens[0] = "BCHG"
// tokens[1] = "D<src>"

View File

@ -177,7 +177,9 @@ static char *get_theme_script(RCore *core, const char *theme_name) {
}
char *theme_path = get_theme_path (core, theme_name);
if (theme_path) {
return r_file_slurp (theme_path, NULL);
char *theme_script = r_file_slurp (theme_path, NULL);
free (theme_path);
return theme_script;
}
#if WITH_STATIC_THEMES
const RConsTheme *theme = r_cons_themes ();

View File

@ -243,6 +243,7 @@ R_API void r_crypto_list(RCrypto *cry, R_NULLABLE PrintfCallback cb_printf, int
break;
default:
R_LOG_ERROR ("Unknown algorithm type for %s", cp->meta.name);
pj_free (pj);
return;
}
pj_ko (pj, "meta");