summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBA/RT_Transport_Descriptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RTCORBA/RT_Transport_Descriptor.cpp')
-rw-r--r--TAO/tao/RTCORBA/RT_Transport_Descriptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/RTCORBA/RT_Transport_Descriptor.cpp b/TAO/tao/RTCORBA/RT_Transport_Descriptor.cpp
index 79c86d3d785..886314dd2f0 100644
--- a/TAO/tao/RTCORBA/RT_Transport_Descriptor.cpp
+++ b/TAO/tao/RTCORBA/RT_Transport_Descriptor.cpp
@@ -63,7 +63,7 @@ TAO_RT_Transport_Descriptor::duplicate (void)
// Note that we cannot use <insert> because that will reverse the stack.
if (new_descriptor->property_list_ == 0)
new_descriptor->property_list_ = new_property;
- else
+ else if (current_new_property != 0)
current_new_property->next_ = new_property;
current_new_property = new_property;