core: resolve monkey indentation sentinel termination error
@@ -364,8 +364,6 @@ static int mk_rconf_read(struct mk_rconf *conf, const char *path)
/* Validate indentation level */
if (check_indent(buf, indent) < 0) {
mk_config_error(path, line, "Invalid indentation level");
- mk_mem_free(key);
- mk_mem_free(val);
return -1;
}
