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:
valeski%netscape.com
2000-08-01 22:57:58 +00:00
parent 70c39b979b
commit a3f4aa3885

View File

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