Fixed double free problem for hashes of tizen_policy and display_policy. 79/180879/1
authorGwanglim Lee <gl77.lee@samsung.com>
Tue, 5 Jun 2018 07:30:04 +0000 (16:30 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Tue, 5 Jun 2018 07:30:04 +0000 (16:30 +0900)
commit469eb4e11dc3f685e39de14b68a6f83197ecde53
treef0e9f13d231a946b1fc8079f26468cb95c34c1c0
parent3e70a213870c448e1f291cc46c9b77b5e31fe56c
Fixed double free problem for hashes of tizen_policy and display_policy.

efl-util always releases all internal hashes of global resource
without checking which resource is deleting when receiving global
resource remove event. It is causing double free problem.

In order to fix this, now efl-util remembers id of global resource
and checks that when removing.

Change-Id: If592c09c575dbd0be249b6ab75f76f5b86c386f2
src/efl_util.c