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

This commit is contained in:
bienvenu%nventure.com 2004-06-08 17:25:50 +00:00
parent f066506500
commit 62f1bd3056

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,