]> git.ipfire.org Git - thirdparty/shadow.git/commit
Return void pointer from xmalloc
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 5 Aug 2022 15:40:28 +0000 (17:40 +0200)
committerSerge Hallyn <serge@hallyn.com>
Sat, 6 Aug 2022 16:27:56 +0000 (11:27 -0500)
commitc5090d91a131c67533871002759b30b03b555110
tree61d4d25fa6a05c47cf7fc35cd1277be0e3a95b7b
parente32b4a9a81ee7bd5698b2522b886e151d1c40a2f
Return void pointer from xmalloc

xmalloc is a wrapper around malloc(3), which bails out on OOM failures.
As such it returns raw memory and is used to allocated all kind of
types.
lib/prototypes.h
libmisc/xmalloc.c