canvas vg: null initialization for safety.

This commit is contained in:
Hermet Park 2020-03-30 21:30:08 +09:00
parent e33f3fd7c9
commit 2c4b5f0b4c
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ _evas_vg_render(Evas_Object_Protected_Data *obj, Efl_Canvas_Vg_Object_Data *pd,
//For recovery context
//FIXME: It may occur async issue?
int px, py, pw, ph, pstride;
void *ppixels;
void *ppixels = NULL;
ector_buffer_size_get(ector, &pw, &ph);
ector_buffer_pixels_get(ector, &ppixels, &px, &ph, &pstride);
Efl_Gfx_Colorspace pcspace = ector_buffer_cspace_get(ector);