diff options
author | Hisham <hisham@gobolinux.org> | 2016-02-03 02:02:30 +0000 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-02-03 02:02:30 +0000 |
commit | 5c593fae4227651075cfc9445f17dad6ae0a0b47 (patch) | |
tree | 91a9c32cab6011d7b31042f6587342768fd076bc /XAlloc.c | |
parent | d311e85b91f226914de1f56f67590191b419b45f (diff) |
Be stricter!
Diffstat (limited to 'XAlloc.c')
-rw-r--r-- | XAlloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ void* xMalloc(size_t size) { void* xCalloc(size_t nmemb, size_t size) { void* data = calloc(nmemb, size); - if (!data && nmemb > 0 && size > 0) { + if (!data) { curs_set(1); endwin(); write(2, oomMessage, sizeof oomMessage - 1); |