forked from enlightenment/efl
canvas vg: null initialization for safety.
This commit is contained in:
parent
e33f3fd7c9
commit
2c4b5f0b4c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue