Bug 202546 Crash in mailnews, r=cavin, sr=jag a=sspitzer.

git-svn-id: svn://10.0.0.236/trunk@141814 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
smontagu%netscape.com
2003-04-25 18:24:14 +00:00
parent 5d6380bd7e
commit ebf9648b8b

View File

@@ -1535,7 +1535,7 @@ nsresult nsCharsetMenu::UpdateCachePrefs(const char * aCacheKey,
nsresult res = NS_OK;
char * cachePrefValue = NULL;
char * staticPrefValue = NULL;
const char * currentCharset = NS_ConvertUCS2toUTF8(aCharset).get();
NS_ConvertUCS2toUTF8 currentCharset(aCharset);
PRInt32 cacheSize = 0;
res = mPrefs->GetCharPref(aCacheKey, &cachePrefValue);