Fix wrong resource management 50/181250/7
authorInkyun Kil <inkyun.kil@samsung.com>
Mon, 11 Jun 2018 07:27:24 +0000 (16:27 +0900)
committerInkyun Kil <inkyun.kil@samsung.com>
Thu, 14 Jun 2018 07:28:50 +0000 (16:28 +0900)
commit322bd12ecb14da27bcd024361cee565f2f0a443b
treee736911a1ed80b710d88cb8509ce2c53e19e8bce
parentd06f02c6e008b77778c1fc2c2eda713589f77896
Fix wrong resource management

If a program is unloaded before GMainContext invoke the 'call_noti_cb',
the program is crashed because the 'call_noti_cb' has deleted.
To prevent it, remove the source from GMainContext at destructor.

Change-Id: I3cdf7e84c055856f58d1797c8444464be585ef0d
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: jusung son <jusung07.son@samsung.com>
vconf-compat/vconf.c [changed mode: 0755->0644]