From: raster Date: Tue, 14 Feb 2012 15:03:12 +0000 (+0000) Subject: hey cedric.. let's not segv shall we? X-Git-Tag: submit/trunk/20120815.180907~231 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c4483a4cab1ba95bec1879313119d0f0601372f;p=profile%2Fivi%2Fedje.git hey cedric.. let's not segv shall we? git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@67938 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_program.c b/src/lib/edje_program.c index b080eb3..d631364 100644 --- a/src/lib/edje_program.c +++ b/src/lib/edje_program.c @@ -873,9 +873,11 @@ _edje_emit_full(Edje *ed, const char *sig, const char *src, void *data, void (*f { Edje_Message_Signal emsg; const char *sep; - Eina_Bool broadcast = ed->collection->broadcast_signal; + Eina_Bool broadcast; + if (!ed->collection) return; if (ed->delete_me) return; + broadcast = ed->collection->broadcast_signal; sep = strchr(sig, EDJE_PART_PATH_SEPARATOR);