Memory leak fix in StkFrames::operator= function

This commit is contained in:
Gary Scavone
2014-09-11 09:46:25 -04:00
parent cbb2fea120
commit b5f046871b

View File

@@ -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;