fix for ldap operation ref-counting problem introduced in fix for 242789, r=dmose, sr=bzbarsky@mit.edu

git-svn-id: svn://10.0.0.236/trunk@157592 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%nventure.com
2004-06-08 17:25:50 +00:00
parent cd968bdb07
commit a89bc0af92

View File

@@ -486,7 +486,7 @@ nsLDAPConnection::InvokeMessageCallback(LDAPMessage *aMsgHandle,
return NS_ERROR_OUT_OF_MEMORY;
// find the operation in question
operation = NS_STATIC_CAST(nsILDAPOperation *, mPendingOperations->Get(key));
operation = getter_AddRefs(NS_STATIC_CAST(nsILDAPOperation *, mPendingOperations->Get(key)));
if (!operation) {
PR_LOG(gLDAPLogModule, PR_LOG_WARNING,