This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dwm
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
die() on calloc failure
thanks Markus Teich and David!
config
Hiltjo Posthuma
8 years ago
parent
ab9571bbc5
commit
24849acada
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
util.c
+ 1
- 1
util.c
View File
@ -12,7 +12,7 @@ ecalloc(size_t nmemb, size_t size)
void
*
p
;
if
(
!
(
p
=
calloc
(
nmemb
,
size
)
)
)
perror
(
NULL
)
;
die
(
"
calloc:
"
)
;
return
p
;
}
Write
Preview
Loading…
Cancel
Save