mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
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:
parent
18a14d01d3
commit
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user