]> git.sur5r.net Git - openldap/commitdiff
Coverity error, uninit'd rc
authorHoward Chu <hyc@openldap.org>
Tue, 13 Feb 2007 11:13:14 +0000 (11:13 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 13 Feb 2007 11:13:14 +0000 (11:13 +0000)
libraries/libldap/ldap_sync.c

index 0957baaeddb0c939751cd0cd81bc4449b170d317..8db70ada2801960d0d22142adfc2adf6b1835805 100644 (file)
@@ -697,6 +697,7 @@ ldap_sync_init( ldap_sync_t *ls, int mode )
                ber == NULL ? "=" : "!" );
 #endif /* LDAP_SYNC_TRACE */
        if ( ber == NULL ) {
+               rc = LDAP_NO_MEMORY;
                goto done;
        }