Fix error path of main thread with freeing allocated buffer 02/190802/3 accepted/tizen/5.0/unified/20181102.021321 accepted/tizen/unified/20181011.095115 submit/tizen/20181010.051409 submit/tizen_5.0/20181101.000004
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 5 Oct 2018 09:46:41 +0000 (18:46 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 5 Oct 2018 11:49:53 +0000 (20:49 +0900)
commiteecd2ff8f76e67231723ce48b21ee8826e5868a2
tree2552af02076306cd38dc6a3e0faac8a93f16357e
parentf7fa2aeac2c16fdb8ee294a468c4a287fb5ab7a4
Fix error path of main thread with freeing allocated buffer

There can be memory leak for strdup(). Fix error path of main
thread with freeing allocated buffer.

Change-Id: I292d66d8b9f5c857a692f35a9867d221dabb6a7d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
src/main.c