dwm

dynamic window manager

git clone https://9o.is/git/dwm.git

commit 4247e44f81e7468ef35c38fb87a9d38d1019f08b
parent fcc1f0986051dedae7b6c6b2e83d25d63afb5725
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  5 Nov 2016 11:34:52 +0100

die() on calloc failure

thanks Markus Teich and David!

Diffstat:
Mutil.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c @@ -12,7 +12,7 @@ ecalloc(size_t nmemb, size_t size) void *p; if (!(p = calloc(nmemb, size))) - perror(NULL); + die("calloc:"); return p; }