From 96179cb36e78bd21e64e7b00c0dc914cb9844850 Mon Sep 17 00:00:00 2001 From: Eric Dong Date: Thu, 23 Jan 2014 01:57:04 +0000 Subject: Refine the logic when return success, should not clean the buffer in this case. Signed-off-by: Eric Dong Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15169 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c index 0b2138ce64..5fb83afa92 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c @@ -1,7 +1,7 @@ /** @file Implementation of interfaces function for EFI_HII_CONFIG_ROUTING_PROTOCOL. -Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.
+Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -4480,12 +4480,11 @@ HiiBlockToConfig ( } if (*StringPtr == 0) { *Progress = StringPtr; - Status = EFI_SUCCESS; AppendToMultiString(Config, ConfigRequest); HiiToLower (*Config); - goto Exit; + return EFI_SUCCESS; } // // Skip '&' -- cgit v1.2.3