зеркало из https://github.com/mozilla/pjs.git
Bug 348669. use delete[]. r+sr=biesi
This commit is contained in:
Родитель
efd03063fa
Коммит
ea5ec8b0a2
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче