mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 10:40:12 +00:00
Fix for Mac bustage
This commit is contained in:
parent
aeb4f2236f
commit
7606cf018d
@ -499,10 +499,9 @@ nsMsgAttachmentHandler::SnarfAttachment(nsMsgCompFields *compFields)
|
||||
NS_RELEASE(mURL);
|
||||
mURL = nsnull;
|
||||
|
||||
const char *tmpName = mAppleFileSpec->GetNativePathCString(); // don't free this!
|
||||
char *newURLSpec = nsMsgPlatformFileToURL(tmpName);
|
||||
char *newURLSpec = nsMsgPlatformFileToURL(*mAppleFileSpec);
|
||||
|
||||
if ( (!tmpName) || (!newURLSpec) )
|
||||
if (!newURLSpec)
|
||||
{
|
||||
PR_FREEIF(src_filename);
|
||||
PR_FREEIF(separator);
|
||||
|
Loading…
x
Reference in New Issue
Block a user