diff libmenu/menu_dvbin.c @ 25379:9befb9809011

get rid of the file-static dvb_config and free the config at close() . Patch by Andrew Calkin and me
author nicodvb
date Sat, 15 Dec 2007 13:30:44 +0000
parents a5c22f3e4673
children f8b6c7045cf8
line wrap: on
line diff
--- a/libmenu/menu_dvbin.c	Sat Dec 15 13:24:01 2007 +0000
+++ b/libmenu/menu_dvbin.c	Sat Dec 15 13:30:44 2007 +0000
@@ -248,6 +248,7 @@
 
 static void close_menu(menu_t* menu)
 {
+	dvb_free_config(mpriv->config);
 	menu_list_uninit(menu, free_entry);
 }