This commit is contained in:
Grzegorz Szwoch (sound)
2021-03-18 19:42:26 +01:00
parent ba967ff851
commit 926a9faca7

View File

@@ -313,7 +313,7 @@ void StkFrames :: resize( size_t nFrames, unsigned int nChannels )
std::string error = "StkFrames::resize: memory allocation error!"; std::string error = "StkFrames::resize: memory allocation error!";
Stk::handleError( error, StkError::MEMORY_ALLOCATION ); Stk::handleError( error, StkError::MEMORY_ALLOCATION );
} }
if ( ownData ) { if ( ownData_ ) {
Stk::handleError( "Pointer to external data was lost after resize", StkError::WARNING ); Stk::handleError( "Pointer to external data was lost after resize", StkError::WARNING );
} }
#endif #endif