mirror of
https://github.com/glfw/glfw.git
synced 2026-02-20 06:03:12 +01:00
wayland: Don't check *alloc result
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user