1 /*
2  * Copyright (c) 2021 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/kernel.h>
8 
9 #include <openthread/platform/memory.h>
10 
11 #include <stdlib.h>
12 
otPlatCAlloc(size_t aNum,size_t aSize)13 void *otPlatCAlloc(size_t aNum, size_t aSize)
14 {
15 	return calloc(aNum, aSize);
16 }
17 
otPlatFree(void * aPtr)18 void otPlatFree(void *aPtr)
19 {
20 	free(aPtr);
21 }
22