bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
This commit is contained in:
@@ -59,7 +59,6 @@
|
||||
#include "nsIStringBundle.h"
|
||||
#include "nsISupportsArray.h"
|
||||
#include "nsXPCOMCID.h"
|
||||
#include "nsCRT.h"
|
||||
|
||||
#define MIGRATION_BUNDLE "chrome://browser/locale/migration/migration.properties"
|
||||
|
||||
@@ -146,7 +145,7 @@ void GetMigrateDataFromArray(MigrationData* aDataArray, PRInt32 aDataArrayLength
|
||||
if (exists)
|
||||
*aResult |= cursor->sourceFlag;
|
||||
}
|
||||
nsCRT::free(cursor->fileName);
|
||||
NS_Free(cursor->fileName);
|
||||
cursor->fileName = nsnull;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user