fix uninit'ed vars (ITS#7039)

This commit is contained in:
Pierangelo Masarati 2011-09-08 23:31:21 +02:00
parent d97d1e148c
commit 568e3b7faa

View File

@ -582,8 +582,8 @@ parse_ldif_control(
char *s, *oidStart;
LDAPControl *newctrl = NULL;
LDAPControl **pctrls = NULL;
struct berval type, bv;
int freeval;
struct berval type, bv = BER_BVNULL;
int freeval = 0;
if (ppctrls) pctrls = *ppctrls;
/* OID should come first. Validate and extract it. */