elementary: fix memory leak from Efl.Ui.Layout.Object
authorYoungbok Shin <youngb.shin@samsung.com>
Fri, 21 Sep 2018 07:50:30 +0000 (16:50 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Fri, 28 Sep 2018 01:24:10 +0000 (10:24 +0900)
commitfc8d23845fa67a775f3e6f4c0cd7758e83ea73d8
tree6e64c9c1cf730258f3190503b8287c45c2c4c01d
parent65ea060095780d605f11e9993ccef1e5ea59f16d
elementary: fix memory leak from Efl.Ui.Layout.Object

Summary:
The 'data' could not be added to hash in a condition.
It has to be free'd before ending the function.
@fix

Test Plan: N/A

Reviewers: cedric, raster, Hermet, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7083
src/lib/elementary/efl_ui_layout_object.c