fix resampler leak
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user