edje: fix little oopsie on theme change.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 20 May 2012 07:16:23 +0000 (07:16 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 20 May 2012 07:16:23 +0000 (07:16 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@71243 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_load.c

index 421aa5c..85a6b07 100644 (file)
@@ -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);