bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron

This commit is contained in:
sayrer@gmail.com
2006-09-08 04:35:17 +00:00
parent 56f3e64c69
commit ccd44e209a
27 changed files with 51 additions and 52 deletions

View File

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