~ttx/openldap/lucid-gssapi-495418

« back to all changes in this revision

Viewing changes to libraries/libldap/result.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-07-28 10:17:15 UTC
  • mto: (0.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20090728101715-g0isvetelfeqm48k
Tags: upstream-2.4.17
ImportĀ upstreamĀ versionĀ 2.4.17

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* result.c - wait for an ldap result */
2
 
/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.124.2.18 2009/02/17 21:02:51 quanah Exp $ */
 
2
/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.124.2.19 2009/03/05 19:07:21 quanah Exp $ */
3
3
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4
4
 *
5
5
 * Copyright 1998-2009 The OpenLDAP Foundation.
845
845
                                return( -1 );   /* fatal error */
846
846
                        }
847
847
                        lr->lr_res_errno = LDAP_SUCCESS; /* sucessfully chased referral */
 
848
                        if ( lr->lr_res_matched ) {
 
849
                                LDAP_FREE( lr->lr_res_matched );
 
850
                                lr->lr_res_matched = NULL;
 
851
                        }
848
852
 
849
853
                } else {
850
854
                        if ( lr->lr_outrefcnt <= 0 && lr->lr_parent == NULL ) {