raw pointer mlk fix. r=dougt
git-svn-id: svn://10.0.0.236/trunk@75349 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -633,6 +633,7 @@ nsLocalFile::InitWithPath(const char *filePath)
|
||||
( (filePath[0] == '\\') && (filePath[1] == '\\') ) ) // netwerk path
|
||||
{
|
||||
// This is a native path
|
||||
if (nativeFilePath) nsCRT::free(nativeFilePath);
|
||||
nativeFilePath = (char*) nsMemory::Clone( filePath, strlen(filePath)+1 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user