Regarding Deleteing pointer!!!!!
Can any one give me the solutions....
Then I got the error like this......
int *m_ptr_ptr = new com::att::ib::Core_V1_0::NVPair
unsigned long _direction
if (*m_ptr_ptr != 0)
if (m_own_value|| _direction == CORBA::ARG_OUT)
if (_direction != CORBA::ARG_INOUT)
*m_ptr_ptr = 0;
if (_direction == CORBA::ARG_IN)
m_own_value = IT_TRUE;
Passing '*this->m_ptr_ptr' as parameter after its value was freed.
Also I want to know Can we delete a pointer like this?????
delete *m_ptr_ptr; // is it correct
delete m_ptr_ptr; // or is it correct