Add an exception handling 85/114285/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 9 Feb 2017 23:46:28 +0000 (08:46 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Mon, 13 Feb 2017 01:05:11 +0000 (17:05 -0800)
commit8c03736fdfeab29cc8f29dc157c10b6b944027b2
tree8d64fcae844f3430adae507aef797e4a155c8eab
parent1061dbe786a9b9ae6382a147982a714128898ea2
Add an exception handling

The tizen_remote_surface_manager_create_surface() API returns
a NULL porinter if the resource id is invalid.

Change-Id: I5d3b084db876061d4f2a02254e8905db4ff52d68
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
(cherry picked from commit d88dd0de0d418c42ed4465a2c76de2cef677401b)
screen_connector_watcher/src/screen_connector_watcher.c