From 96f4dfebdca8a4eb72b7a404d1b85bfaf758494c 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 git-svn-id: svn://10.0.0.236/trunk@48374 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/ds/nsProperties.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }