diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rescribe/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/rescribe/main.go b/cmd/rescribe/main.go index 8ae29ff..16c284c 100644 --- a/cmd/rescribe/main.go +++ b/cmd/rescribe/main.go @@ -473,6 +473,7 @@ func rmIfNotImage(f string) error { return fmt.Errorf("Failed to open image %s: %v\n", f, err) } _, err = jpeg.Decode(r) + r.Close() if err == nil { return nil } |