From: Ralf Haferkamp Date: Tue, 26 Feb 2008 13:24:02 +0000 (+0000) Subject: Avoid double free of LDAPRequest X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~129 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2b628547f5691971c7099cc8dd0c27b55ff0e834;p=openldap Avoid double free of LDAPRequest --- diff --git a/contrib/ldapc++/src/LDAPMessageQueue.cpp b/contrib/ldapc++/src/LDAPMessageQueue.cpp index 6aed87b32b..ac8dd3dd34 100644 --- a/contrib/ldapc++/src/LDAPMessageQueue.cpp +++ b/contrib/ldapc++/src/LDAPMessageQueue.cpp @@ -50,7 +50,6 @@ LDAPMsg *LDAPMessageQueue::getNext(){ ret = req->getNextMessage(); }catch(LDAPException e){ //do some clean up - delete req; m_activeReq.top(); throw; }