fix memory leak in menu and window when c_menu_scroll::f_update_data_menu() funciton is call