repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux/fpc-iii.git]
/
tools
/
lib
/
zalloc.c
blob
9c856d59f56e5042fb1af677efa33a3ee4617145
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
}