cmcfixes73: #i109922# fix new[]/delete mismatch

This commit is contained in:
Caolán McNamara 2010-03-10 12:00:53 +00:00
parent f696d8ce6b
commit dc354f51b4

View file

@ -266,7 +266,7 @@ void Dir::Construct( DirEntryKind nKindFlags )
strcpy( pBuffer, aTStr.GetBuffer() );
CharLowerBuff( pBuffer, aTStr.Len() );
aNameMask = WildCard( String(pBuffer, osl_getThreadTextEncoding()), ';' );
delete pBuffer;
delete [] pBuffer;
}
#else
aNameMask = WildCard( CutName(), ';' );