This MUST be fixed in some other way. This is a temporary fix for the HP build bustage that Warren okayed as this code isn't in use elsewhere. This is just commenting out the bad code, not fixing it.
git-svn-id: svn://10.0.0.236/trunk@30686 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -56,7 +56,10 @@ nsVariant::~nsVariant()
|
||||
{
|
||||
switch (mType) {
|
||||
case nsVariantType_voidPtr:
|
||||
delete (void *)mValue;
|
||||
/* XXX: Per comments from Warren, commenting this out.
|
||||
This code isn't done (or used), and is a violation
|
||||
of ANSI C++ to boot. -- Bruce */
|
||||
/* delete (void *)mValue; */
|
||||
break;
|
||||
case nsVariantType_charPtr:
|
||||
nsCRT::free(mValue.mUnion._charPtr);
|
||||
|
||||
@@ -56,7 +56,10 @@ nsVariant::~nsVariant()
|
||||
{
|
||||
switch (mType) {
|
||||
case nsVariantType_voidPtr:
|
||||
delete (void *)mValue;
|
||||
/* XXX: Per comments from Warren, commenting this out.
|
||||
This code isn't done (or used), and is a violation
|
||||
of ANSI C++ to boot. -- Bruce */
|
||||
/* delete (void *)mValue; */
|
||||
break;
|
||||
case nsVariantType_charPtr:
|
||||
nsCRT::free(mValue.mUnion._charPtr);
|
||||
|
||||
Reference in New Issue
Block a user