mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
111829 r/sr=bienvenu. fix leaking folder name upon creating new folder.
This commit is contained in:
parent
797838a11d
commit
b0774fd75d
@ -1959,8 +1959,8 @@ nsresult nsMsgFolderDataSource::DoNewFolder(nsIMsgFolder *folder, nsISupportsArr
|
||||
nsCOMPtr<nsIRDFLiteral> literal = do_QueryInterface(elem, &rv);
|
||||
if(NS_SUCCEEDED(rv))
|
||||
{
|
||||
PRUnichar *name;
|
||||
literal->GetValue(&name);
|
||||
nsXPIDLString name;
|
||||
literal->GetValue(getter_Copies(name));
|
||||
|
||||
rv = folder->CreateSubfolder(name,mWindow);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user