mirror of
https://github.com/thestk/stk
synced 2026-01-16 06:21:51 +00:00
Memory leak fix in StkFrames::operator= function
This commit is contained in:
@@ -281,6 +281,7 @@ StkFrames :: StkFrames( const StkFrames& f )
|
||||
|
||||
StkFrames& StkFrames :: operator= ( const StkFrames& f )
|
||||
{
|
||||
if ( data_ ) free( data_ );
|
||||
data_ = 0;
|
||||
size_ = 0;
|
||||
bufferSize_ = 0;
|
||||
|
||||
Reference in New Issue
Block a user