audio/vorbis: Unretain the Ogg decoder on Close (#733)

This commit is contained in:
Hajime Hoshi 2018-11-09 03:48:28 +09:00
parent eda8d61413
commit feca647087

View File

@ -157,6 +157,7 @@ func (d *decoded) Close() error {
if err := d.source.Close(); err != nil { if err := d.source.Close(); err != nil {
return err return err
} }
d.decoder = nil
return nil return nil
} }