diff --git a/mozilla/xpcom/ds/nsProperties.cpp b/mozilla/xpcom/ds/nsProperties.cpp index b75d17cf0db..9f8306f471e 100644 --- a/mozilla/xpcom/ds/nsProperties.cpp +++ b/mozilla/xpcom/ds/nsProperties.cpp @@ -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; }