1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

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