summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-09-10 20:39:24 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-09-10 20:39:24 +0000
commita8ff30dea45c36dcb04d72286acb197f0919c801 (patch)
treee4d25b77629b1746751c213a1eed233e9c675fa7 /legacy
parentb8d3fceb58ecfcf91db08ebf68cc371e6b1b22d1 (diff)
null check for color_class_list
SVN revision: 63319
Diffstat (limited to 'legacy')
-rw-r--r--legacy/edje/src/lib/edje_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/edje/src/lib/edje_util.c b/legacy/edje/src/lib/edje_util.c
index 67f5eb6262..26e2953af9 100644
--- a/legacy/edje/src/lib/edje_util.c
+++ b/legacy/edje/src/lib/edje_util.c
@@ -518,6 +518,8 @@ edje_color_class_list(void)
518{ 518{
519 Edje_List_Foreach_Data fdata; 519 Edje_List_Foreach_Data fdata;
520 520
521 if (!color_class) return NULL;
522
521 memset(&fdata, 0, sizeof(Edje_List_Foreach_Data)); 523 memset(&fdata, 0, sizeof(Edje_List_Foreach_Data));
522 eina_hash_foreach(_edje_color_class_member_hash, 524 eina_hash_foreach(_edje_color_class_member_hash,
523 _edje_color_class_list_foreach, &fdata); 525 _edje_color_class_list_foreach, &fdata);