summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-24 03:45:02 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-24 03:45:02 +0000
commit12f2ebf7f006369477824d9b4b917847d63a68af (patch)
tree73a689623af59e71216e40e1a2cd3bd8b66df6c6
parente25aa22a8ff46b3c29fc373a585d8a5e5cc37296 (diff)
downloadsamba-12f2ebf7f006369477824d9b4b917847d63a68af.tar.gz
samba-12f2ebf7f006369477824d9b4b917847d63a68af.tar.bz2
samba-12f2ebf7f006369477824d9b4b917847d63a68af.zip
Always initialise
(This used to be commit ff2b5b2f85f2d9dade67077cea1b68719cf65352)
-rw-r--r--source3/libads/ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index bc90e90ea0..29f44672f4 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -816,8 +816,8 @@ static ADS_STATUS ads_modlist_add(TALLOC_CTX *ctx, ADS_MODLIST *mods,
{
int curmod;
LDAPMod **modlist = (LDAPMod **) *mods;
- struct berval **ber_values;
- char **char_values;
+ struct berval **ber_values = NULL;
+ char **char_values = NULL;
if (!invals) {
mod_op = LDAP_MOD_DELETE;