Bug 348669. use delete[]. r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@209670 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8e634cfc09
commit
5311a8812a
@ -290,7 +290,7 @@ nsMimeMapperMac::ExportMapping ( short * outLength ) const
|
||||
posInString += strlen(currMapping); // advance marker to get ready for next mapping
|
||||
}
|
||||
nsMemory::Free ( mimeType );
|
||||
delete currMapping;
|
||||
delete[] currMapping;
|
||||
}
|
||||
|
||||
*posInString = '\0'; // null terminate our resulting string
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user