]> git.sur5r.net Git - openldap/commitdiff
ITS#5049: Initialize conn in syncprov_db_close() before connection_fake_init().
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 18 Jul 2007 21:02:14 +0000 (21:02 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 18 Jul 2007 21:02:14 +0000 (21:02 +0000)
servers/slapd/overlays/syncprov.c

index 6af467fe573794c3dd8affb94849f08706f4f81e..6fc74b203e935c3a77e101ad2d72a7f73ad2bb0a 100644 (file)
@@ -2614,7 +2614,7 @@ syncprov_db_close(
                return 0;
        }
        if ( si->si_numops ) {
-               Connection conn;
+               Connection conn = {0};
                OperationBuffer opbuf;
                Operation *op;
                SlapReply rs = {REP_RESULT};