X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d6306eb4da8cdac4b5dee9784959672c233eec8..fed485e0946d9cff74fce6afdb169796d90a99f2:/utils/wxMMedia/sndsnd.cpp diff --git a/utils/wxMMedia/sndsnd.cpp b/utils/wxMMedia/sndsnd.cpp index 3422b7249f..b938f0a0b0 100644 --- a/utils/wxMMedia/sndsnd.cpp +++ b/utils/wxMMedia/sndsnd.cpp @@ -101,8 +101,6 @@ void wxSndBuffer::HardUnlock() void wxSndBuffer::ChangeCodec(int no) { - wxDELETE(m_sndcodec); - m_sndformat.SetCodecNo(no); m_sndcodec = m_sndformat.GetCodec(); m_sndcodec->SetIOBuffer(this);