Free used pipe

This commit is contained in:
nxshock 2022-02-01 10:01:56 +05:00
parent 7799aa7141
commit 65c1ba95c0

View File

@ -39,6 +39,7 @@ func encode(url string, w io.Writer) error {
if err != nil {
return err
}
defer out.Close()
err = cmd.Start()
if err != nil {