Fix deference of NULL return issue 23/139123/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 17 Jul 2017 10:42:30 +0000 (19:42 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 17 Jul 2017 11:01:34 +0000 (11:01 +0000)
commit98dc61e0ea82bb8a54884b018374264fe0e72125
treea8b8e9514b9266e8429c993c284315cdbbd6edc5
parent8490141313501a975e532897bda6efe4fc357283
Fix deference of NULL return issue

Pointer 'new_text' returned from function 'malloc' at wayland_panel_agent_module.cpp:1103 may be null,
and it is dereferenced at wayland_panel_agent_module.cpp:1109.

Change-Id: Idcd50ab2d93a43f5664b6736dc8e8643f1705a58
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp