]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxMMedia/sndsnd.cpp
file I forgot to commit last time (wxCritSection)
[wxWidgets.git] / utils / wxMMedia / sndsnd.cpp
index 3422b7249f8ab5a4f0b66471b0b17cbe3e651ca5..b938f0a0b00a26007e17789a254b53a66b74fbec 100644 (file)
@@ -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);