1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Scanned for bad naked new; found none; changed comments, used safenew

This commit is contained in:
Paul Licameli
2017-07-22 23:54:56 -04:00
parent 7156479d11
commit f0de38dec1
22 changed files with 32 additions and 32 deletions

View File

@@ -425,7 +425,7 @@ wxImage ThemeBase::MaskedImage( char const ** pXpm, char const ** pMask )
// unsigned char *src = Img1.GetData();
unsigned char *mk = Img2.GetData();
//wxImage::setAlpha requires memory allocated with malloc, not new
//wxImage::setAlpha requires memory allocated with malloc, not NEW
MallocString<unsigned char> alpha{
static_cast<unsigned char*>(malloc( nBytes )) };