edje: don't leak memory on edje block error during signal emit.

SVN revision: 75815
This commit is contained in:
Cedric BAIL 2012-08-29 07:18:52 +00:00
parent e7d8ab323c
commit a1ae5b21ce
3 changed files with 14 additions and 2 deletions

View File

@ -569,3 +569,7 @@
* Textblock: Fixed issue with textblock fit not sizing correctly. This
fix is not perfect.
2012-08-29 Cedric Bail
* Don't leak memory on edje block error during signal emit.

View File

@ -33,6 +33,7 @@ Fixes:
* Call edje_object_message_signal_process also on GROUP part Edje object.
* Remove memory leak when alias are present in the edj file.
* Properly destroy color_class and text_class on an Edje_Object.
* Stop leaking memory on edje block error during signal emit.
Edje 1.2.0

View File

@ -499,10 +499,17 @@ edje_match_callback_exec_check_finals(const Edje_Patterns *signal_ppat,
{
escb->func(escb->data, ed->obj, sig, source);
if (_edje_block_break(ed))
return 0;
{
r = 0;
break;
}
if ((signal_ppat->delete_me) || (source_ppat->delete_me))
return 0;
{
r = 0;
break;
}
}
eina_array_flush(&run);
return r;