Evas: Don't access members of a null struct. Fixes T4616

This commit is contained in:
Stephen Houston 2016-09-20 16:02:33 -05:00
parent f0f9c5d24a
commit 61b66338a9
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ _filter_cb(Evas_Filter_Context *ctx, void *data, Eina_Bool success)
Evas_Filter_Data *pd = efl_data_scope_get(eo_obj, MY_CLASS);
Evas_Filter_Post_Render_Data *post_data;
if (!pd)
return;
if (!pd->data->async)
{
_filter_end_sync(ctx, obj, pd, success);