projects
/
platform
/
kernel
/
linux-rpi.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge tag 'xtensa-20221213' of https://github.com/jcmvbkbc/linux-xtensa
[platform/kernel/linux-rpi.git]
/
tools
/
lib
/
zalloc.c
1
// SPDX-License-Identifier: LGPL-2.1
2
3
#include <stdlib.h>
4
#include <linux/zalloc.h>
5
6
void *zalloc(size_t size)
7
{
8
return calloc(1, size);
9
}
10
11
void __zfree(void **ptr)
12
{
13
free(*ptr);
14
*ptr = NULL;
15
}