cmcfixes73: #i109922# fix new[]/delete mismatch
This commit is contained in:
parent
f696d8ce6b
commit
dc354f51b4
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ void Dir::Construct( DirEntryKind nKindFlags )
|
||||||
strcpy( pBuffer, aTStr.GetBuffer() );
|
strcpy( pBuffer, aTStr.GetBuffer() );
|
||||||
CharLowerBuff( pBuffer, aTStr.Len() );
|
CharLowerBuff( pBuffer, aTStr.Len() );
|
||||||
aNameMask = WildCard( String(pBuffer, osl_getThreadTextEncoding()), ';' );
|
aNameMask = WildCard( String(pBuffer, osl_getThreadTextEncoding()), ';' );
|
||||||
delete pBuffer;
|
delete [] pBuffer;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
aNameMask = WildCard( CutName(), ';' );
|
aNameMask = WildCard( CutName(), ';' );
|
||||||
|
|
Loading…
Reference in a new issue