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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user