[omniORB] Problem with next_one on Windows
kec
kec at vlasenko.info
Fri Mar 11 13:43:09 GMT 2005
omniORB 4.0.5
First iteration is OK.
Second iteration exception in code
_CORBA_ConstrType_Variable_Var::
inline T_var& operator= (T* p) {
if( pd_data ) delete pd_data;
pd_data = p;
return *this;
}
Then call delete pd_data!!!
My code:
:
CosNaming::BindingIterator_var bi;
CosNaming::BindingList_var bl;
CosNaming::Binding_var b;
context->list(0, bl, bi);
if(CORBA::is_nil(bi))
return false;
while(bi->next_one(b)) //Exception on second iteration
{
}
:
Help:-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20050311/aca85718/attachment.htm
More information about the omniORB-list
mailing list