mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
fixed mismatched free in nsProperties
This commit is contained in:
parent
9b98c7e8a1
commit
bdef2ae2c9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user