diff options
Diffstat (limited to 'src/view/mplayer.c')
-rw-r--r-- | src/view/mplayer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/mplayer.c b/src/view/mplayer.c index e085b72..d17a415 100644 --- a/src/view/mplayer.c +++ b/src/view/mplayer.c @@ -1131,7 +1131,7 @@ static void _hide(void *view_data) static void _update(void *view_data, int update_type, void *data) { struct _priv *priv; - struct view_update_data *vdata; + struct view_update_data *vdata = NULL; struct view_update_data temp_update_data; if (!view_data || !data) { @@ -1140,6 +1140,9 @@ static void _update(void *view_data, int update_type, void *data) } priv = view_data; + temp_update_data.list = NULL; + temp_update_data.index = 0; + temp_update_data.id = NULL; if (update_type == UPDATE_CONTENT_WITH_MEDIA_ID) { app_media *am = NULL; |