Change-Id: I55e2914dfd87d39b091852d7d6f670368e759a6a
/* theme extension */
elm_theme_free(ugd->theme);
+ /* destroying view */
+ int count;
+ Viewtype cur_view;;
+ if (ugd->view_top >= 0) {
+ for (count = ugd->view_top; count >= 0; count--) {
+ cur_view = ugd->view_st[count];
+ vd = ugd->vd[cur_view];
+ debug_log("destorying view: %s", vd->grp_nm);
+ if (vd->destroy)
+ vd->destroy(vd);
+ }
+ }
+
/* Free Viewdata's memory */
for (i = VIEW_SETTING; i < VIEW_END; i++) {
vd = ugd->vd[i];