whoopsie
This commit is contained in:
parent
c2daeb5cbe
commit
547265b259
1 changed files with 1 additions and 1 deletions
|
|
@ -523,7 +523,7 @@ static int rc71l_platform_init(void** platform_data) {
|
|||
int res = -EINVAL;
|
||||
|
||||
rc71l_platform_t *const platform = malloc(sizeof(rc71l_platform_t));
|
||||
if (platform != NULL) {
|
||||
if (platform == NULL) {
|
||||
fprintf(stderr, "Unable to setup platform\n");
|
||||
res = -ENOMEM;
|
||||
goto rc71l_platform_init_err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue