summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-26 12:04:48 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-26 12:04:48 +0000
commit487ddca70c65de5bfa1f79d725659ff807c22daa (patch)
tree66373f379cd01e56c32427d7d3297c0244d88ca3
parentafc5a627d85cec556e7fca13fc5a03e5c4452850 (diff)
downloadmpv-487ddca70c65de5bfa1f79d725659ff807c22daa.tar.bz2
mpv-487ddca70c65de5bfa1f79d725659ff807c22daa.tar.xz
Free playtree_iter upon exiting MPlayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30117 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index 587b03e920..a30da0f119 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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);