Change-Id: I6b6a7e362e689f289f5d9a2ba75853c62daa5ad4
Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
layoutmgr *lmgr;
struct listmgr *listmgr;
+ struct listmgr_data *ldata;
struct mediadata *md;
priv->layout = layout;
priv->lmgr = lmgr;
priv->listmgr = listmgr;
+ priv->ldata = ldata;
priv->md = md;
layoutmgr_set_layout_data(lmgr, LAYOUT_GALLERY, priv);
mediadata_destroy(priv->md);
listmgr_destroy(priv->listmgr);
+ free(priv->ldata);
evas_object_del(priv->layout);
+
free(priv);
}
layoutmgr *lmgr;
struct listmgr *listmgr;
+ struct listmgr_data *ldata;
struct mediadata *md;
priv->layout = layout;
priv->lmgr = lmgr;
priv->listmgr = listmgr;
+ priv->ldata = ldata;
priv->md = md;
layoutmgr_set_layout_data(lmgr, LAYOUT_MOVIE, priv);
mediadata_destroy(priv->md);
listmgr_destroy(priv->listmgr);
+ free(priv->ldata);
evas_object_del(priv->layout);
+
free(priv);
}
}
gridmgr_destroy(lmgr->gmgr);
- free(lmgr->data);
free(lmgr);
}