diff --git a/client/allocdir/alloc_dir.go b/client/allocdir/alloc_dir.go
index <HASH>..<HASH> 100644
--- a/client/allocdir/alloc_dir.go
+++ b/client/allocdir/alloc_dir.go
@@ -260,6 +260,7 @@ func (d *AllocDir) FSReadAt(allocID string, path string, offset int64, limit int
 	if err != nil {
 		return err
 	}
+	defer f.Close()
 	io.Copy(w, io.LimitReader(f, limit))
 	return nil
 }
Closing the file handler after finishing readat