elm_atspi_bridge: use efl_add_ref for obj without parent
authorKamil Konieczny <k.konieczny@samsung.com>
Mon, 25 May 2020 16:44:28 +0000 (18:44 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 1 Jun 2020 21:01:09 +0000 (06:01 +0900)
commitfaf895bc3ab8b48114e4aa2568f65d2fb3d574da
treedd4ad721139bd5f5daa8d001d8eab14f9ae58017
parent7d0e330b969517f03f8f131852cd10ce9d25985f
elm_atspi_bridge: use efl_add_ref for obj without parent

Use efl_add_ref for object without parent, and unref
when obj is destructed.

This fixes error reported by EFL:
"E/EFL     (  956): eo<956> ../src/lib/eo/eo.c:1008
_efl_add_internal_start_do() Creation of 'Elm.Atspi.App.Object'
object at line 6882 in '../src/lib/elementary/elm_atspi_bridge.c'
is done without parent. This should use efl_add_ref."

Change-Id: Ib813c7b587c1e39d5335909037cec4664391dea3
src/lib/elementary/elm_atspi_bridge.c