Skip to content

Commit 8faedfa

Browse files
committed
fixed betty styling
1 parent 2e62a75 commit 8faedfa

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

0x0C-more_malloc_free/0-malloc_checked.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99

1010
void *malloc_checked(unsigned int b)
1111
{
12-
void *ptr = malloc(b);
12+
void *ptr = malloc(b);
1313

14-
if (ptr == NULL)
15-
{
16-
exit(98);
17-
}
14+
if (ptr == NULL)
15+
{
16+
exit(98);
17+
}
1818

19-
return ptr;
19+
return (ptr);
2020
}
2121

0 commit comments

Comments
 (0)