removed unnecessary Close call and formatted map hints

This commit is contained in:
Gani Georgiev
2023-12-04 16:22:49 +02:00
parent 41dcd9b4d4
commit cdfc1f7b70
2 changed files with 7 additions and 7 deletions
-1
View File
@@ -425,7 +425,6 @@ func (s *System) CreateThumb(originalKey string, thumbKey, thumbSize string) err
return decodeErr
}
r.Close()
var thumbImg *image.NRGBA
if width == 0 || height == 0 {