... | ... |
@@ -351,7 +351,7 @@ uint8_t* cli_bcapi_malloc(struct cli_bc_ctx *ctx, uint32_t size) |
351 | 351 |
#else |
352 | 352 |
/* TODO: implement using a list of pointers we allocated! */ |
353 | 353 |
cli_errmsg("cli_bcapi_malloc not implemented for systems without mmap yet!\n"); |
354 |
- return NULL; |
|
354 |
+ return cli_malloc(size); |
|
355 | 355 |
#endif |
356 | 356 |
} |
357 | 357 |
|