e_comp_wl_rsm: added checking null of rsm_buffer resource 93/168493/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 26 Dec 2017 06:40:53 +0000 (15:40 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Mon, 29 Jan 2018 05:21:21 +0000 (14:21 +0900)
Change-Id: Ic6f4805831ed619108361cbd0dadb2cfd0768aa7

src/bin/e_comp_wl_rsm.c

index 3f0c9393c1bb423210e60c954011c58a8a4681bc..86c34eb5a9fa8578431fc6d077f526c62f5c4d15 100644 (file)
@@ -576,6 +576,7 @@ _remote_surface_changed_buff_protocol_send(E_Comp_Wl_Remote_Surface *rs,
              EINA_SAFETY_ON_NULL_RETURN_VAL(rbuff, EINA_FALSE);
 
              tbm = rbuff->resource;
+             EINA_SAFETY_ON_NULL_RETURN_VAL(tbm, EINA_FALSE);
 
              if ((ref_set) &&
                  (rs->version >= 2)) /* WORKAROUND for 3.0: old version wayland-scanner can't generation since macro. TIZEN_REMOTE_SURFACE_RELEASE_SINCE_VERSION */