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
1 changed files with 2 additions and 0 deletions

View File

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