cygcheck: Close with pclose what has been opened with popen
Fixes Coverity CID 66900 Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
		
							parent
							
								
									5c758bf910
								
							
						
					
					
						commit
						46c472a1c1
					
				|  | @ -1192,7 +1192,7 @@ dump_sysinfo_services () | |||
|       puts ("The version of cygrunsrv installed is too old to dump service info.\n"); | ||||
|       return; | ||||
|     } | ||||
|   fclose (f); | ||||
|   pclose (f); | ||||
| 
 | ||||
|   /* For verbose mode, just run cygrunsrv --list --verbose and copy output
 | ||||
|      verbatim; otherwise run cygrunsrv --list and then cygrunsrv --query for | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue