Author: gd
Date: 2005-03-18 23:56:53 +0000 (Fri, 18 Mar 2005)
New Revision: 5892

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5892

Log:
Another valgrind-fix (just for trunk).

Guenther

Modified:
   trunk/source/passdb/pdb_ldap.c


Changeset:
Modified: trunk/source/passdb/pdb_ldap.c
===================================================================
--- trunk/source/passdb/pdb_ldap.c      2005-03-18 23:48:46 UTC (rev 5891)
+++ trunk/source/passdb/pdb_ldap.c      2005-03-18 23:56:53 UTC (rev 5892)
@@ -883,6 +883,8 @@
                }
        }
 
+       pwHistLen = 0;
+
        pdb_get_account_policy(AP_PASSWORD_HISTORY, &pwHistLen);
        if (pwHistLen > 0){
                uint8 *pwhist = NULL;

Reply via email to