misc: unref bus at the end of cleanup 29/245929/1 submit/tizen/20201020.112528
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 19 Oct 2020 05:21:29 +0000 (14:21 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Tue, 20 Oct 2020 04:44:38 +0000 (13:44 +0900)
commitc286857f85330dc85931e58120c1b1d82d3b0471
treeece356c58593632c4aa007c60952191456fbbc4e
parent74a085e37c46b2ae15ae46dd217c23fa2c75c50c
misc: unref bus at the end of cleanup

The g_object_run_dispose needs bus as below.

  g_object_run_dispose > atspi_application_dispose > _atspi_bus

So close, unref and set bus to NULL after using bus is done.

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