Don't report allocation failure via logging

They will be reported by allocchk and will abort the program. There is
no point to log them.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2018-12-20 14:21:41 +00:00
parent 1ea611c90e
commit 22669889eb
4 changed files with 0 additions and 23 deletions

View File

@ -91,10 +91,6 @@ parse_matrix(session_t *ps, const char *src, const char **endptr) {
// Allocate memory
auto matrix = ccalloc(wid * hei + 2, xcb_render_fixed_t);
if (!matrix) {
printf_errf("(): Failed to allocate memory for matrix.");
goto err1;
}
// Read elements
{