summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyuho Jo <kyuho.jo@samsung.com>2017-06-07 11:32:18 (GMT)
committerKyuho Jo <kyuho.jo@samsung.com>2017-06-07 11:32:18 (GMT)
commitd97a51c1cf761fdb9cf15a135074fdbd60ccee24 (patch)
treed540766f005210a700f70d197b7bdc926c05e563
parent29b82215b09ded8728bc3c6e38b6538cf123c8f1 (diff)
downloadair_mediahub-accepted/tizen_4.0_unified.zip
air_mediahub-accepted/tizen_4.0_unified.tar.gz
air_mediahub-accepted/tizen_4.0_unified.tar.bz2
Change-Id: Ic34252dcba0157f8c0d4e11a5558aed3876e417a Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
-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;
}