atspi-misc: Prevent memory leak of main_loop pointer 65/224965/1
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 14 Feb 2020 08:24:14 +0000 (17:24 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 14 Feb 2020 08:24:14 +0000 (17:24 +0900)
commit9c835f23328edff530c15aa1cffa0acc85f227ce
tree9c84142cf4a6712b175c9b0869cb14049d2783bc
parent5016c77a44ff9bb5ce595a32429319d189839063
atspi-misc: Prevent memory leak of main_loop pointer

atspi_main_loop is generated with g_main_loop_new
The loop ends and a memory leak occurs.
Call unref on atspi_main_loop to prevent leaks.

Change-Id: If8158f0113bf3eb31ff7b2558c835a92219a40d2
atspi/atspi-misc.c