mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
wayland: Don't check *alloc result
This commit is contained in:
parent
468714cab9
commit
6e8e94837d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user