]> git.sur5r.net Git - openldap/commitdiff
Save return code from cleanup handler
authorHoward Chu <hyc@openldap.org>
Mon, 15 Oct 2007 09:56:03 +0000 (09:56 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 15 Oct 2007 09:56:03 +0000 (09:56 +0000)
servers/slapd/bconfig.c

index dd9ac913b72690da90b9d83b568b1e52241b5bf1..260b7379b77c2d4ae0affe30635986049f53520a 100644 (file)
@@ -4865,7 +4865,7 @@ out:
        }
 
        if ( ca->cleanup )
-               ca->cleanup( ca );
+               rc = ca->cleanup( ca );
 out_noop:
        if ( rc == LDAP_SUCCESS ) {
                attrs_free( save_attrs );