Changes in v1.2.2 (5/4/2002)

- Fixed memory leak in menu.c

svn path=/trunk/; revision=2906
This commit is contained in:
Brian Palmer 2002-05-04 09:25:47 +00:00
parent 5d75740eea
commit 86b351ce41
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Changes in v1.2.2 (5/4/2002)
- Fixed memory leak in menu.c
Changes in v1.2.1 (5/3/2002)
- Makefile updates

View file

@ -22,7 +22,7 @@
/* just some stuff */
#define VERSION "FreeLoader v1.2.1"
#define VERSION "FreeLoader v1.2.2"
#define COPYRIGHT "Copyright (C) 1998-2002 Brian Palmer <brianp@sginet.com>"
// FreeLoader version defines
@ -34,7 +34,7 @@
//
#define FREELOADER_MAJOR_VERSION 1
#define FREELOADER_MINOR_VERSION 2
#define FREELOADER_PATCH_VERSION 1
#define FREELOADER_PATCH_VERSION 2
PUCHAR GetFreeLoaderVersionString(VOID);

View file

@ -173,6 +173,12 @@ BOOL DisplayMenu(PUCHAR MenuItemList[], ULONG MenuItemCount, ULONG DefaultMenuIt
{
*SelectedMenuItem = MenuInformation.SelectedMenuItem;
}
//
// Restore screen and free the memory
//
RestoreScreen(ScreenBuffer);
FreeMemory(ScreenBuffer);
return TRUE;
}