Fixed a memory leak (didn't release the menu struct in the main menu).