Skip to content

Commit

Permalink
lib: cprofiles: fixed incorrect check
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich committed Nov 12, 2024
1 parent a14fcfc commit 48f6fce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/cprofiles/src/cprof_encode_text.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,9 +631,9 @@ static int encode_int64_t_array(
}
}

result = cfl_sds_printf(&context->output_buffer,
"%s",
suffix);
sds_result = cfl_sds_printf(&context->output_buffer,
"%s",
suffix);

if (sds_result == NULL) {
return CPROF_ENCODE_TEXT_ALLOCATION_ERROR;
Expand Down

0 comments on commit 48f6fce

Please sign in to comment.