aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmenu
diff options
context:
space:
mode:
authorGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-15 13:30:44 +0000
committerGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-15 13:30:44 +0000
commita9d2f4db42923f195ea05c5f30f4a32a1aa6fb04 (patch)
tree2f7777089fff99e8c7b7aa12f94e317bd565d6e1 /libmenu
parent43bfd2d1283a3967b8c4d4b0b62068754b95127c (diff)
get rid of the file-static dvb_config and free the config at close() . Patch by Andrew Calkin and me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25407 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu')
-rw-r--r--libmenu/menu_dvbin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmenu/menu_dvbin.c b/libmenu/menu_dvbin.c
index b43cc232c2..f59f55d3ec 100644
--- a/libmenu/menu_dvbin.c
+++ b/libmenu/menu_dvbin.c
@@ -248,6 +248,7 @@ static void read_cmd(menu_t* menu, int cmd)
static void close_menu(menu_t* menu)
{
+ dvb_free_config(mpriv->config);
menu_list_uninit(menu, free_entry);
}