DOCGroup / ACE_TAO

ACE and TAO
https://www.dre.vanderbilt.edu/~schmidt/TAO.html
705 stars 381 forks source link

Check comparison in CORBA::ContextList::_decr_refcount #1439

Open jwillemsen opened 3 years ago

jwillemsen commented 3 years ago

Doubt whether the code references is correct, should it be == 0?

https://github.com/DOCGroup/ACE_TAO/blob/e4bcaf22324492a0d784890cd9ca86b4a707e68f/TAO/tao/DynamicInterface/Context.cpp#L172

jwillemsen commented 3 years ago

Also the result of — should be stored in a variable which is checked