evas: preventing possible NULL dereference in evas xcb backend.

Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D3271

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Srivardhan Hebbar 2015-11-09 16:07:59 -08:00 committed by Cedric BAIL
parent e5a9c7844f
commit 445f56741c
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ _best_colormap_get(int backend, void *connection, int screen)
break;
}
return s->default_colormap;
if (s) return s->default_colormap;
}
#endif