From: Hallvard Furuseth Date: Wed, 18 Jul 2007 21:02:14 +0000 (+0000) Subject: ITS#5049: Initialize conn in syncprov_db_close() before connection_fake_init(). X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~320 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9bd4a298ef58943faab11eb7647901eac24c695b;p=openldap ITS#5049: Initialize conn in syncprov_db_close() before connection_fake_init(). --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 6af467fe57..6fc74b203e 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -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};