*result = _queryResult; NS_IF_ADDREF(*result);
NS_IF_ADDREF(*result = _queryResult);
nsresult nsAbQueryLDAPMessageListener::QueryResultStatus (nsISupportsArray* properties,        nsIAbDirectoryQueryResult** result, PRUint32 resultStatus){    nsAbDirectoryQueryResult* _queryResult = new nsAbDirectoryQueryResult (        mContextID,        mQueryArguments,        resultStatus,        (resultStatus == nsIAbDirectoryQueryResult::queryResultMatch) ? properties : 0);    if (_queryResult == NULL)        return NS_ERROR_OUT_OF_MEMORY;    *result = _queryResult;    NS_IF_ADDREF(*result);    return NS_OK;}