Skip to content
Snippets Groups Projects
Commit acfd7920 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Avoid double free of LDAPRequest

Remove request from active requests stack in exception handler
parent 2593de37
No related branches found
No related tags found
No related merge requests found
......@@ -50,8 +50,7 @@ LDAPMsg *LDAPMessageQueue::getNext(){
ret = req->getNextMessage();
}catch(LDAPException e){
//do some clean up
delete req;
m_activeReq.top();
m_activeReq.pop();
throw;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment