1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00

Free playtree_iter upon exiting MPlayer

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30117 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-12-26 12:04:48 +00:00
parent afc5a627d8
commit 487ddca70c

View File

@ -707,6 +707,8 @@ void exit_player_with_rc(exit_reason_t how, int rc){
if(mconfig) if(mconfig)
m_config_free(mconfig); m_config_free(mconfig);
if(mpctx->playtree_iter)
play_tree_iter_free(mpctx->playtree_iter);
if(mpctx->playtree) if(mpctx->playtree)
play_tree_free(mpctx->playtree, 1); play_tree_free(mpctx->playtree, 1);