fix resampler leak

This commit is contained in:
Glenn Maynard
2006-11-27 20:32:54 +00:00
parent 0df256858e
commit e2fb30cb87
@@ -482,7 +482,7 @@ public:
RageSoundResampler_Polyphase( const RageSoundResampler_Polyphase &cpy ) RageSoundResampler_Polyphase( const RageSoundResampler_Polyphase &cpy )
{ {
m_pPolyphase = new PolyphaseFilter(*cpy.m_pPolyphase); m_pPolyphase = cpy.m_pPolyphase; // don't copy
m_pState = new PolyphaseFilter::State(*cpy.m_pState); m_pState = new PolyphaseFilter::State(*cpy.m_pState);
m_iDownFactor = cpy.m_iDownFactor; m_iDownFactor = cpy.m_iDownFactor;
} }