From bdef2ae2c9e1a3d306443e0ce38f7848cc594c25 Mon Sep 17 00:00:00 2001 From: "warren%netscape.com" Date: Mon, 20 Sep 1999 20:54:16 +0000 Subject: [PATCH] fixed mismatched free in nsProperties --- xpcom/ds/nsProperties.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpcom/ds/nsProperties.cpp b/xpcom/ds/nsProperties.cpp index b75d17cf0db7..9f8306f471ec 100644 --- a/xpcom/ds/nsProperties.cpp +++ b/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; }