Shut up some more Valgrind errors. (Why is r600_dri.so branching on the frame buffer?)

This commit is contained in:
Alcaro 2015-02-12 18:30:15 +01:00
parent 852842beaf
commit 7938e05b9c

View File

@ -459,7 +459,7 @@ static void *rgui_init(void)
if (!menu)
return NULL;
menu->frame_buf.data = (uint16_t*)malloc(400 * 240 * sizeof(uint16_t));
menu->frame_buf.data = (uint16_t*)calloc(400 * 240, sizeof(uint16_t));
if (!menu->frame_buf.data)
goto error;