e_hwc_window_queue: fix null pointer dereference 51/211051/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 29 Jul 2019 10:13:39 +0000 (19:13 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 29 Jul 2019 12:25:35 +0000 (12:25 +0000)
Change-Id: I21158989def92b49a1687d392e384c91daddc975

src/bin/e_hwc_window_queue.c

index 61f693f..d11fc70 100644 (file)
@@ -269,7 +269,7 @@ _e_hwc_window_queue_tqueue_acquire(E_Hwc_Window *hwc_window)
    if (!tqueue)
      {
         EHWQERR("fail to tdm_hwc_window_get_buffer_queue hwc_win:%p tdm_error:%d",
-            hwc_window->ec, hwc_window->queue->hwc, hwc_window->queue, hwc_window, error);
+            hwc_window->ec, hwc_window->hwc, hwc_window->queue, hwc_window, error);
         return NULL;
      }