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:
warren%netscape.com
1999-09-20 20:54:16 +00:00
parent 8a533d4ca4
commit 96f4dfebdc

View File

@@ -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;
}