remove redundant os.Remove
The created temporal file is already within another temporary directory that already gets removed (along with its contents) with `os.RemoveAll`.
This commit is contained in:
parent
2b0a0dbcf5
commit
01c7151dd3
1 changed files with 0 additions and 1 deletions
|
@ -109,7 +109,6 @@ func ugoira2video(manifest UgoiraManifest, ugoiraFileName, vidOut, ffmpegArgs st
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer os.Remove(fraFp.Name())
|
||||
defer fraFp.Close()
|
||||
|
||||
vidOutAbs, err := filepath.Abs(vidOut)
|
||||
|
|
Loading…
Add table
Reference in a new issue