all repos — dmenu @ a280bdad1f16943a70eaff086852d3b11043b060

my build of dmenu

die() on calloc failure

thanks Markus Teich and David!
Hiltjo Posthuma hiltjo@codemadness.org
Sat, 05 Nov 2016 11:36:42 +0100
commit

a280bdad1f16943a70eaff086852d3b11043b060

parent

a9a5c6cc2d7d55ed7e556a4fe9d75307c6df2e84

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M util.cutil.c

@@ -12,7 +12,7 @@ {

void *p; if (!(p = calloc(nmemb, size))) - perror(NULL); + die("calloc:"); return p; }