e_hwc_window: Fix NULL pointer dereference. 74/196874/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 2 Jan 2019 08:20:57 +0000 (17:20 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Mon, 7 Jan 2019 06:56:04 +0000 (15:56 +0900)
Change-Id: I9c471586d061a0dc958ab094110d08fbf590f6c6

src/bin/e_hwc_window.c

index b19a8ad034081fa4b8ed0e013394dc69e2163d69..78f5f6ff8497ecc021077ac3511feb58524ffb21 100644 (file)
@@ -1627,7 +1627,7 @@ e_hwc_window_set_property(E_Hwc_Window *hwc_window, unsigned int id, const char
 
         EHWTRACE("Set Property: property(%s) value(%d)) -- {%s}",
                   hwc_window->ec, hwc_window,
-                  prop->name, (unsigned int)value.u32,
+                  name, (unsigned int)value.u32,
                   e_hwc_window_name_get(hwc_window));
      }
    else