diff --git a/src/Audio/StreamingSoundOgg.cs b/src/Audio/StreamingSoundOgg.cs index 938d2d29..a83e95a4 100644 --- a/src/Audio/StreamingSoundOgg.cs +++ b/src/Audio/StreamingSoundOgg.cs @@ -92,8 +92,8 @@ namespace MoonWorks.Audio protected override void Destroy() { - Marshal.FreeHGlobal(FileDataPtr); FAudio.stb_vorbis_close(VorbisHandle); + Marshal.FreeHGlobal(FileDataPtr); } } }