mirror of
				https://github.com/imgproxy/imgproxy.git
				synced 2025-10-30 23:08:02 +02:00 
			
		
		
		
	fix: close file (#1274)
This commit is contained in:
		| @@ -66,6 +66,7 @@ func StringSliceFile(s *[]string, filepath string) error { | ||||
| 	if err != nil { | ||||
| 		return fmt.Errorf("Can't open file %s\n", filepath) | ||||
| 	} | ||||
| 	defer f.Close() | ||||
|  | ||||
| 	scanner := bufio.NewScanner(f) | ||||
| 	for scanner.Scan() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user