BeGeistert checkin: fixed broken allocation length as found by the USE_WALL

feature.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9398 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-10-18 15:39:21 +00:00
parent cc0c987a28
commit 2fdc57b522
+1 -1
View File
@@ -42,7 +42,7 @@ register_image(struct team *team, image_info *_info, size_t size)
image_id id = atomic_add(&sNextImageID, 1);
struct image *image;
image = malloc(sizeof(image_info));
image = malloc(sizeof(struct image));
if (image == NULL)
return B_NO_MEMORY;