fix segv when adding optimizations to edje message handling

613e1715be (and friends) added a bit a
biug where messages in the queue were not skipped as they were before
causing a segv witha null lookup. this fixes that. eclipse about
dialog showed this bug up. no longer happens now.
This commit is contained in:
Carsten Haitzler 2019-06-21 09:29:52 +01:00 committed by Mike Blumenkrantz
parent cc860aecb4
commit 5187f69c7a
1 changed files with 1 additions and 3 deletions

View File

@ -180,15 +180,13 @@ static void
_edje_object_message_signal_process_do(Eo *obj EINA_UNUSED, Edje *ed)
{
Eina_Inlist *l, *ln;
Edje *lookup_ed;
Edje *lookup_ed = NULL;
Eina_List *groups = NULL, *lg;
Edje_Message *em;
int gotos = 0;
if (!ed) return;
groups = ed->groups;
if (groups)
{
for (l = msgq; l; l = ln)