e_comp_hwc: check the g_hwc 34/76434/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 24 Jun 2016 02:29:05 +0000 (11:29 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 24 Jun 2016 02:29:05 +0000 (11:29 +0900)
Change-Id: I532b387123ed731d414ce78b3f7988352ed000fa

src/bin/e_comp_hwc.c

index f269b10e5f15f586fd13128e54e2743555b0617b..b0c7886099de03c6867b3bb8085abbd0a7a0350e 100644 (file)
@@ -593,6 +593,7 @@ _e_comp_hwc_renderer_surface_destroy_cb(tbm_surface_h tsurface, void *data)
 {
    E_Comp_Hwc_Renderer *hwc_renderer = NULL;
 
+   EINA_SAFETY_ON_NULL_RETURN(g_hwc);
    EINA_SAFETY_ON_NULL_RETURN(tsurface);
    EINA_SAFETY_ON_NULL_RETURN(data);