Bug 348669. use delete, not nsCRT::free. Thanks to Alfred Kayser <alfredkayser@nl.ibm.com> for spotting this. r+sr=biesi

This commit is contained in:
sayrer%gmail.com 2006-09-10 19:17:10 +00:00
Родитель 18a14d01d3
Коммит 664c3c7226
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -46,7 +46,7 @@
#include "nsITransferable.h"
#include "nsString.h"
#include "nsReadableUtils.h"
#include "nsCRT.h"
#include "plstr.h"
#include <Drag.h>
#include <Scrap.h>
@ -290,7 +290,7 @@ nsMimeMapperMac::ExportMapping ( short * outLength ) const
posInString += strlen(currMapping); // advance marker to get ready for next mapping
}
nsMemory::Free ( mimeType );
nsCRT::free ( currMapping );
delete currMapping;
}
*posInString = '\0'; // null terminate our resulting string