From: cedric Date: Sun, 20 May 2012 07:16:23 +0000 (+0000) Subject: edje: fix little oopsie on theme change. X-Git-Tag: submit/trunk/20120815.180907~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f49282bdd0e0126f8ea2824fa99cb69eaa3a6f9a;p=profile%2Fivi%2Fedje.git edje: fix little oopsie on theme change. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@71243 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_load.c b/src/lib/edje_load.c index 421aa5c..85a6b07 100644 --- a/src/lib/edje_load.c +++ b/src/lib/edje_load.c @@ -899,7 +899,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const char *file, const char *g eina_stringshare_del(eud->u.string.text); break; } - _edje_user_definition_free(eud); + if (eud) _edje_user_definition_free(eud); } boxes = eina_list_sort(boxes, -1, _sort_defined_boxes);