eina: don't access dead promise.
authorCedric BAIL <cedric@osg.samsung.com>
Tue, 31 May 2016 21:18:48 +0000 (14:18 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 31 May 2016 21:59:26 +0000 (14:59 -0700)
commit9bcad265a72c29506644b9740efa0bdd1dc453a2
tree63bdb4967fbc8569f47763a4f8999e40739d4d63
parentbc0547a7056b60971fe875816c15068ed69d18a6
eina: don't access dead promise.

We do properly unref promise while calling all the then callback. There
is no need to check it a second time (which actually lead to a 100%
bad access).

T3759
src/lib/eina/eina_promise.c