diff --git a/source/shared_lib/sources/graphics/video_player.cpp b/source/shared_lib/sources/graphics/video_player.cpp index bdcec6340..9323006be 100644 --- a/source/shared_lib/sources/graphics/video_player.cpp +++ b/source/shared_lib/sources/graphics/video_player.cpp @@ -927,7 +927,12 @@ void VideoPlayer::closePlayer() { #else libvlc_media_player_stop(ctxPtr->mp); #endif + if(ctxPtr->mlp != NULL) { + libvlc_media_list_player_release(ctxPtr->mlp); + ctxPtr->mlp = NULL; + } libvlc_media_player_release(ctxPtr->mp); + ctxPtr->mp = NULL; libvlc_release(ctxPtr->libvlc); } #endif