elm_ctxpopup: prevent a giant load of errors
authorMarcel Hollerbach <marcel@osg.samsung.com>
Thu, 24 May 2018 21:56:30 +0000 (14:56 -0700)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 1 Jun 2018 01:59:20 +0000 (10:59 +0900)
commit545130d81030e27800a49eaea869bbd67d6e376c
tree292584c3b204c70499ec9eabab3512c7d403923b
parentd261c6ee812d5851268d42d629b0f7e8ac4fcbdd
elm_ctxpopup: prevent a giant load of errors

Summary:
i)  There have been 2 sorts of errors, first the items have been deleted
    after the list was deleted, thus the list items have already been
    destructed. which lead to the error as the popup items destroyed the list
    items on destruction as well.

ii) sd->box was attached to the ctxpopup when getting into group_del the
    box has already been destroyed by the cleanup logic.

Subscribers: cedric, zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6166

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/elementary/elc_ctxpopup.c