mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
Avoid double free of LDAPRequest
This commit is contained in:
parent
31f06b91af
commit
2b628547f5
@ -50,7 +50,6 @@ LDAPMsg *LDAPMessageQueue::getNext(){
|
|||||||
ret = req->getNextMessage();
|
ret = req->getNextMessage();
|
||||||
}catch(LDAPException e){
|
}catch(LDAPException e){
|
||||||
//do some clean up
|
//do some clean up
|
||||||
delete req;
|
|
||||||
m_activeReq.top();
|
m_activeReq.top();
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user