Fix run broken issue for EdkUnixPkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2560 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2007-04-11 09:19:16 +00:00
parent aaed63a98d
commit fdbc81c8cd
1 changed files with 3 additions and 1 deletions

View File

@ -507,7 +507,9 @@ Error:
// Free private data
//
if (Private != NULL) {
FreePool (Private->LineBuffer);
if (Private->LineBuffer != NULL) {
FreePool (Private->LineBuffer);
}
FreePool (Private);
}
}