wayland: Don't check *alloc result

This commit is contained in:
Jonas Ådahl 2014-09-28 21:46:16 +02:00
parent 468714cab9
commit 6e8e94837d

View File

@ -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);