summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS2
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-20 14:43:50 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-20 14:43:50 +0000
commit3eaa63bd1e6658413faf535dd2f71efc10f7aaef (patch)
tree914121bc0054f74c65b361cad9ffab299223567d /ACE/apps/JAWS2
parent0944b607c618e28e0394428d7196f919cd9f721c (diff)
downloadATCD-3eaa63bd1e6658413faf535dd2f71efc10f7aaef.tar.gz
ChangeLogTag: Tue Feb 20 14:43:00 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'ACE/apps/JAWS2')
-rw-r--r--ACE/apps/JAWS2/JAWS/Cache_Manager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ACE/apps/JAWS2/JAWS/Cache_Manager.cpp b/ACE/apps/JAWS2/JAWS/Cache_Manager.cpp
index 23d8ca1b1ce..316ddd472fe 100644
--- a/ACE/apps/JAWS2/JAWS/Cache_Manager.cpp
+++ b/ACE/apps/JAWS2/JAWS/Cache_Manager.cpp
@@ -83,6 +83,9 @@ JAWS_Strdup_String::operator = (const char *s)
void
JAWS_Strdup_String::operator = (const JAWS_Strdup_String &s)
{
+ if (this == &s)
+ return;
+
if (this->c_ && --*(this->c_) == 0)
{
if (this->s_)