Commit 06939d4f authored by unknown's avatar unknown

removed lead of ndb eventoperations on ndb object delete

parent 2ad7a70f
......@@ -966,6 +966,13 @@ NdbEventBuffer::NdbEventBuffer(Ndb *ndb) :
NdbEventBuffer::~NdbEventBuffer()
{
// todo lock? what if receive thread writes here?
NdbEventOperationImpl* op= m_dropped_ev_op;
while ((op = m_dropped_ev_op))
{
m_dropped_ev_op = m_dropped_ev_op->m_next;
delete op->m_facade;
}
for (unsigned j= 0; j < m_allocated_data.size(); j++)
{
unsigned sz= m_allocated_data[j]->sz;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment