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:
@@ -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 )) };
|
||||
|
||||
|
Reference in New Issue
Block a user