fixed mismatched free in nsProperties
git-svn-id: svn://10.0.0.236/trunk@48374 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -186,8 +186,8 @@ nsPersistentProperties::nsPersistentProperties()
|
||||
PR_STATIC_CALLBACK(PRIntn)
|
||||
FreeHashEntries(PLHashEntry* he, PRIntn i, void* arg)
|
||||
{
|
||||
delete[] (PRUnichar*)he->key;
|
||||
delete[] (PRUnichar*)he->value;
|
||||
nsCRT::free((PRUnichar*)he->key);
|
||||
nsCRT::free((PRUnichar*)he->value);
|
||||
return HT_ENUMERATE_REMOVE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user