forked from enlightenment/efl
initialize that memory block before reading from it
SVN revision: 8406
This commit is contained in:
parent
cfa94eaaaa
commit
ae0df2ecb5
|
@ -76,7 +76,7 @@ evas_common_image_surface_free(RGBA_Surface *is)
|
|||
void
|
||||
evas_common_image_surface_alloc(RGBA_Surface *is)
|
||||
{
|
||||
is->data = malloc(is->w * is->h * sizeof(DATA32));
|
||||
is->data = calloc(1, is->w * is->h * sizeof(DATA32));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue