mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 15:55:16 +00:00
fix for ldap operation ref-counting problem introduced in fix for 242789, r=dmose, sr=bzbarsky@mit.edu
This commit is contained in:
parent
f066506500
commit
62f1bd3056
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user