зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
18a14d01d3
Коммит
664c3c7226
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче