Fix argv free position 09/243509/1
authorhyunho <hhstark.kang@samsung.com>
Tue, 8 Sep 2020 00:24:08 +0000 (09:24 +0900)
committerhyunho <hhstark.kang@samsung.com>
Tue, 8 Sep 2020 00:24:08 +0000 (09:24 +0900)
commit91853df91bcbe21e3cb71e31e1280566e7c8eadc
treec1647f01271e915aa308bfd429c72ec03f4a0796
parentab1e35a0e04e11fb6cf865a3816b0833b5c97ad7
Fix argv free position

Free before check return value so that it can be freed
if its return value is error value.

Change-Id: I49dd1aa6052c22a70c573d2e95312474f66d8aa5
Signed-off-by: hyunho <hhstark.kang@samsung.com>
test/unit_tests/test_widget_app.cc