Removed close function from squashfs.File

This seems to cause issues in ver specific circumstances and ultimately, isn't needed.
This commit is contained in:
Caleb Gardner
2021-01-06 12:56:09 -06:00
parent 97b12090c6
commit 35d22b4bd0
5 changed files with 9 additions and 39 deletions
-6
View File
@@ -145,12 +145,6 @@ func (d *dataReader) readCurBlock() error {
return err
}
//Close frees up the curData from memory
func (d *dataReader) Close() error {
d.curData = nil
return nil
}
func (d *dataReader) Read(p []byte) (int, error) {
if d.curData == nil {
err := d.readCurBlock()