diff --git a/MdePkg/Library/DxeMemoryAllocationLib/MemoryAllocationLib.c b/MdePkg/Library/DxeMemoryAllocationLib/MemoryAllocationLib.c index 42d05d7826..8bd8220dea 100644 --- a/MdePkg/Library/DxeMemoryAllocationLib/MemoryAllocationLib.c +++ b/MdePkg/Library/DxeMemoryAllocationLib/MemoryAllocationLib.c @@ -1094,7 +1094,6 @@ SafeFreePool ( { if (Buffer != NULL) { FreePool (Buffer); - Buffer = NULL; } }