fix leak fix
This commit is contained in:
		
							parent
							
								
									179b562472
								
							
						
					
					
						commit
						2e7bd26e4c
					
				| @ -549,8 +549,9 @@ extern "C" | |||||||
|                         continue; |                         continue; | ||||||
|                     if (!stricmp(info.pWinStationName, "console")) |                     if (!stricmp(info.pWinStationName, "console")) | ||||||
|                     { |                     { | ||||||
|  |                         auto id = info.SessionId; | ||||||
|                         WTSFreeMemory(pInfos); |                         WTSFreeMemory(pInfos); | ||||||
|                         return info.SessionId; |                         return id; | ||||||
|                     } |                     } | ||||||
|                     if (!strnicmp(info.pWinStationName, rdp, nrdp)) |                     if (!strnicmp(info.pWinStationName, rdp, nrdp)) | ||||||
|                     { |                     { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user