diff options
Diffstat (limited to 'TAO/tao/ORB.cpp')
-rw-r--r-- | TAO/tao/ORB.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp index 0b277862965..448b9ffe52c 100644 --- a/TAO/tao/ORB.cpp +++ b/TAO/tao/ORB.cpp @@ -2067,6 +2067,9 @@ CORBA::ORB::register_value_factory (const char *repository_id, this->valuetype_adapter_->vf_map_rebind (repository_id, factory); + if (result == 0) // No previous factory found + return 0; + if (result == -1) { // Error on bind. |