Fix for SVACE (WGID 322531) in setup-adaptor
authorhwajeong.son <hwajeong.son@samsung.com>
Mon, 1 Oct 2018 10:58:43 +0000 (19:58 +0900)
committerhwajeong.son <hwajeong.son@samsung.com>
Mon, 1 Oct 2018 10:58:43 +0000 (19:58 +0900)
commitf84601681094b5b88e8f769496369d79d497f969
treea2b69d13944622ed8ef2bff569210410458fe063
parentcd326a9d312a41c4acbcd40061382a3e1e087970
Fix for SVACE (WGID 322531) in setup-adaptor

The issue is caused by g_main_loop_new.
If the thread is completed, it should be freed.
In case of error like unitializing case, it should be properly freed.
src/setup_network.c