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:
sayrer%gmail.com 2006-09-10 22:42:19 +00:00
parent 8e634cfc09
commit 5311a8812a

View File

@ -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