mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 00:11:44 +00:00
fix leak
This commit is contained in:
parent
3944e0db2c
commit
8e75c8bbe4
@ -519,7 +519,7 @@ NS_IMETHODIMP nsMsgDatabase::OpenMDB(const char *dbName, PRBool create)
|
||||
|
||||
if (m_mdbEnv)
|
||||
m_mdbEnv->SetAutoClear(PR_TRUE);
|
||||
m_dbName = nsCRT::strdup(dbName);
|
||||
m_dbName = dbName;
|
||||
#if defined(XP_PC) || defined(XP_MAC)
|
||||
UnixToNative(nativeFileName);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user