diff --git a/src/wl_window.c b/src/wl_window.c index 0fa16aa3..64a83d16 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -179,9 +179,6 @@ os_create_anonymous_file(off_t size) } name = malloc(strlen(path) + sizeof(template)); - if (!name) - return -1; - strcpy(name, path); strcat(name, template);