From 6d32ce8baea6c45bfa05f602c9281f063b64f79b Mon Sep 17 00:00:00 2001 From: cedric Date: Sun, 20 May 2012 07:16:23 +0000 Subject: [PATCH] edje: fix little oopsie on theme change. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@71243 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4