diff --git a/mailnews/local/src/nsPop3Sink.cpp b/mailnews/local/src/nsPop3Sink.cpp index 2bff2ce6473..191bb6b3090 100644 --- a/mailnews/local/src/nsPop3Sink.cpp +++ b/mailnews/local/src/nsPop3Sink.cpp @@ -127,7 +127,8 @@ nsPop3Sink::BeginMailDelivery(PRBool* aBool) PR_WRONLY | PR_CREATE_FILE | PR_APPEND); // create a new mail parser - m_newMailParser = new nsParseNewMailState(NULL, nsFilePath(path)); + nsFilePath parsePath(path); + m_newMailParser = new nsParseNewMailState(nsnull, parsePath); PR_FREEIF(path); #ifdef DEBUG