diff options
-rw-r--r-- | src/view/base.c | 1 |
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; } |