mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	NetworkPkg/IScsiDxe: fix HiiOpCodeHandle leak
Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
This commit is contained in:
		 Mike Maslenkin
					Mike Maslenkin
				
			
				
					committed by
					
						![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
						parent
						
							b1cdfc556f
						
					
				
				
					commit
					e8cfc7beba
				
			| @ -1918,7 +1918,7 @@ IScsiConfigUpdateAttempt ( | ||||
|                                                NULL | ||||
|                                                ); | ||||
|       if (AttemptConfigData->AttemptTitleToken == 0) { | ||||
|         return; | ||||
|         goto Exit; | ||||
|       } | ||||
|  | ||||
|       HiiCreateGotoOpCode ( | ||||
| @ -1940,6 +1940,7 @@ IScsiConfigUpdateAttempt ( | ||||
|     EndOpCodeHandle                  // Replace data | ||||
|     ); | ||||
|  | ||||
| Exit: | ||||
|   HiiFreeOpCodeHandle (StartOpCodeHandle); | ||||
|   HiiFreeOpCodeHandle (EndOpCodeHandle); | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user