check if pointer is NULL 28/78528/1 accepted/tizen/ivi/20160706.083036 accepted/tizen/mobile/20160706.082938 accepted/tizen/tv/20160706.082926 accepted/tizen/wearable/20160706.082931 submit/tizen/20160706.051651
authorBoram Park <boram1288.park@samsung.com>
Wed, 6 Jul 2016 03:43:50 +0000 (12:43 +0900)
committerBoram Park <boram1288.park@samsung.com>
Wed, 6 Jul 2016 03:43:57 +0000 (12:43 +0900)
Change-Id: Ieb798f139d256f4607c5e8f9620d6ceb612f2049

src/e_devicemgr_video.c

index 7b4650b89d02cb88ac7e582e2e0fe9da4944d392..fa8ce0fe62dac353efce3b34babeb21c0b00d929 100644 (file)
@@ -1445,6 +1445,7 @@ static void
 _e_devicemgr_video_object_destroy(struct wl_resource *resource)
 {
    E_Video *video = wl_resource_get_user_data(resource);
+   EINA_SAFETY_ON_NULL_RETURN(video);
 
    VDT("Video from Client(%s):PID(%d) is being destroyed, details are: "
        "RscID(%d), Buffer(%p), Video_Format(%c%c%c%c), "