diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2016-09-14 11:02:02 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2016-09-14 11:02:02 +0200 |
commit | ac6416f590563684d6ba660ddb89bd13c0842c70 (patch) | |
tree | e58c0f02f136291c810604466415b0e49387e0ef | |
parent | 5382791dbaa61a859cc4b8e6746b86c183d4f5b3 (diff) | |
download | ATCD-ac6416f590563684d6ba660ddb89bd13c0842c70.tar.gz |
Use own_factory_ at the moment to cleanup to delete the factory at the moment we own it at destruction, fixes coverity errors
* TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp:
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp index 9747d1b82e9..d0c5572b99e 100644 --- a/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp +++ b/TAO/orbsvcs/orbsvcs/Event/EC_Event_Channel_Base.cpp @@ -46,7 +46,7 @@ TAO_EC_Event_Channel_Base (const TAO_EC_Event_Channel_Attributes& attr, TAO_EC_Event_Channel_Base::~TAO_EC_Event_Channel_Base (void) { // Destroy Strategies in the reverse order of creation, they - // refere to each other during destruction and thus need to be + // reference to each other during destruction and thus need to be // cleaned up properly. this->factory_->destroy_supplier_control (this->supplier_control_); this->supplier_control_ = 0; @@ -76,7 +76,7 @@ TAO_EC_Event_Channel_Base::~TAO_EC_Event_Channel_Base (void) this->factory_->destroy_dispatching (this->dispatching_); this->dispatching_ = 0; - this->factory (0, 0); + this->factory (0, this->own_factory_); } void |