mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-14 08:57:40 +00:00
adjust comment
This commit is contained in:
parent
abe12fd38c
commit
a07ffbef72
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ func newFileReader(r io.Reader) (fileReader, error) {
|
|||
fReader.BufferedReadSeeker = iobuf.NewBufferedReadSeeker(r)
|
||||
|
||||
// If an error occurs during MIME type detection, it is important we close the BufferedReaderSeeker
|
||||
// to release any resources it holds and prevent potential memory leaks.
|
||||
// to release any resources it holds (checked out buffers or temp file).
|
||||
var err error
|
||||
defer func() {
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue