Skip to content

Commit

Permalink
Fix error after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
MalhotraPulak committed Jun 10, 2021
1 parent 8efb91b commit 1ef881e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion librz/core/cmd_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,7 @@ RZ_IPI int rz_cmd_debug_dmi(void *data, const char *input) {
break;
case 'j':
mode = RZ_MODE_JSON;
pj = rz_core_pj_new(core);
pj = pj_new();
if (!pj) {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion librz/core/linux_heap_glibc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1967,7 +1967,7 @@ RZ_IPI RzCmdStatus GH(rz_cmd_heap_chunks_print_handler)(RzCore *core, int argc,
top_data = rz_str_new("");
top_title = rz_str_new("");
if (mode == RZ_OUTPUT_MODE_JSON) {
pj = rz_core_pj_new(core);
pj = pj_new();
if (!pj) {
free(main_arena);
return RZ_CMD_STATUS_ERROR;
Expand Down

0 comments on commit 1ef881e

Please sign in to comment.