summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/PSS/PSDL_Node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/PSS/PSDL_Node.cpp')
-rw-r--r--TAO/orbsvcs/PSS/PSDL_Node.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/orbsvcs/PSS/PSDL_Node.cpp b/TAO/orbsvcs/PSS/PSDL_Node.cpp
index 895232feaa9..77a73ee3b90 100644
--- a/TAO/orbsvcs/PSS/PSDL_Node.cpp
+++ b/TAO/orbsvcs/PSS/PSDL_Node.cpp
@@ -4851,8 +4851,9 @@ TAO_PSDL_Literal::TAO_PSDL_Literal (const char *char_value)
TAO_PSDL_Literal::~TAO_PSDL_Literal (void)
{
- if (this->char_value_ != 0)
- delete this->char_value_;
+ // We cannot delete this since it is a constant
+ /*if (this->char_value_ != 0)
+ delete this->char_value_; */
}
/// Get the value