]> git.sur5r.net Git - openldap/commitdiff
Avoid double free of LDAPRequest
authorRalf Haferkamp <ralf@openldap.org>
Tue, 26 Feb 2008 13:24:02 +0000 (13:24 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Tue, 26 Feb 2008 13:24:02 +0000 (13:24 +0000)
contrib/ldapc++/src/LDAPMessageQueue.cpp

index 6aed87b32b9e79bb5cfc09860071d8dc539ae06d..ac8dd3dd3496e0c1c9a0666a933551fca9fb053b 100644 (file)
@@ -50,7 +50,6 @@ LDAPMsg *LDAPMessageQueue::getNext(){
         ret = req->getNextMessage();
     }catch(LDAPException e){
         //do some clean up
-        delete req;
         m_activeReq.top();
         throw;   
     }