[tizen] Fix memory leak and for exception case. 73/171073/1
authorWonsik, Jung <sidein@samsung.com>
Mon, 26 Feb 2018 08:28:56 +0000 (17:28 +0900)
committerWonsik, Jung <sidein@samsung.com>
Mon, 26 Feb 2018 08:35:20 +0000 (17:35 +0900)
commitb4d2cfc5870ca5d24438cc762cecb5ef26d52c9a
tree24bc957fa8662e5106c813ddb54fa79b89e3f873
parent99a55a6469e64a1034a5fbd8669f134940b2d719
[tizen] Fix memory leak and for exception case.

strdup() is used in app_get_resource_path() and the return value of the function is NULL sometimes.
So, this patch is to fix for two cases.

Change-Id: Ibf58a674a21bcde5a2b0ff5e0f952cd55fadadb9
dali/internal/adaptor/tizen/framework-tizen.cpp