]> git.sur5r.net Git - openldap/commitdiff
Remove request from active requests stack in exception handler
authorRalf Haferkamp <ralf@openldap.org>
Tue, 26 Feb 2008 13:34:59 +0000 (13:34 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Tue, 26 Feb 2008 13:34:59 +0000 (13:34 +0000)
contrib/ldapc++/src/LDAPMessageQueue.cpp

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