Skip to content

Commit

Permalink
WIP: fix port format
Browse files Browse the repository at this point in the history
  • Loading branch information
matetokodi committed Nov 14, 2023
1 parent 2a2d0e8 commit 62c13ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jerry-port/common/jerry-port-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ jerry_port_line_read (jerry_size_t *out_size_p)
{
allocated += 64;
char *tmp = realloc (line_p, allocated);
if (tmp == NULL) {
jerry_port_fatal(JERRY_FATAL_OUT_OF_MEMORY);
if (tmp == NULL)
{
jerry_port_fatal (JERRY_FATAL_OUT_OF_MEMORY);
}
line_p = tmp;

Expand Down

0 comments on commit 62c13ab

Please sign in to comment.