]> git.sur5r.net Git - openldap/commitdiff
plug leak
authorKurt Zeilenga <kurt@openldap.org>
Wed, 21 Dec 2005 21:16:34 +0000 (21:16 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 21 Dec 2005 21:16:34 +0000 (21:16 +0000)
servers/slapd/syncrepl.c

index 2fd3d59f594084b0e1d2a494d04d859ae75b5457..8209e2d91cbe17e1551ff7538f02ed0111a2f7ed 100644 (file)
@@ -695,6 +695,7 @@ do_syncrep2(
                                if ( BER_BVISEMPTY( &syncUUID ) ) {
                                        Debug( LDAP_DEBUG_ANY, "do_syncrep2: "
                                                "got empty syncUUID\n", 0, 0, 0 );
+                                       ldap_controls_free( rctrls );
                                        rc = -1;
                                        goto done;
                                }