summaryrefslogtreecommitdiff
path: root/src/view
diff options
context:
space:
mode:
authorKyuho Jo <kyuho.jo@samsung.com>2017-06-07 20:32:18 +0900
committerKyuho Jo <kyuho.jo@samsung.com>2017-06-07 20:32:18 +0900
commitd97a51c1cf761fdb9cf15a135074fdbd60ccee24 (patch)
treed540766f005210a700f70d197b7bdc926c05e563 /src/view
parent29b82215b09ded8728bc3c6e38b6538cf123c8f1 (diff)
downloadair_mediahub-d97a51c1cf761fdb9cf15a135074fdbd60ccee24.tar.gz
air_mediahub-d97a51c1cf761fdb9cf15a135074fdbd60ccee24.tar.bz2
air_mediahub-d97a51c1cf761fdb9cf15a135074fdbd60ccee24.zip
Change-Id: Ic34252dcba0157f8c0d4e11a5558aed3876e417a Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
Diffstat (limited to 'src/view')
-rw-r--r--src/view/base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/base.c b/src/view/base.c
index b144c79..5e74de4 100644
--- a/src/view/base.c
+++ b/src/view/base.c
@@ -597,6 +597,7 @@ static void _update_recent_view(struct _priv *priv, const char *id)
if (type >= E_LAYOUT_MAX) {
_ERR("type[%d] exceeded E_LAYOUT_MAX", type);
+ app_media_destroy(am);
return;
}