fix dereference of incomplete pointer type
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
b10c0d91ab
commit
4bc11ee5d5
|
@ -384,8 +384,7 @@ e_pixmap_refresh(E_Pixmap *cp)
|
|||
e_comp_object_native_surface_set(cp->client->frame, 0);
|
||||
success = !!pixmap;
|
||||
if (!success) break;
|
||||
if (cp->client->comp_data &&
|
||||
cp->client->comp_data->pw && cp->client->comp_data->ph)
|
||||
if (cd && cd->pw && cd->ph)
|
||||
{
|
||||
pw = cd->pw;
|
||||
ph = cd->ph;
|
||||
|
|
Loading…
Reference in New Issue