]> git.sur5r.net Git - openldap/commitdiff
ITS#6005 crypt salt_format must use ber_memfree
authorHoward Chu <hyc@openldap.org>
Mon, 9 Mar 2009 01:28:00 +0000 (01:28 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 9 Mar 2009 01:28:00 +0000 (01:28 +0000)
libraries/liblutil/passwd.c

index 0f83f6bdf1d38809e0ae91c6552255e5562a34ed..5a141fd2074f5ad46f5d49488f76984ceecf24b8 100644 (file)
@@ -1107,7 +1107,7 @@ static int hash_crypt(
 int lutil_salt_format(const char *format)
 {
 #ifdef SLAPD_CRYPT
-       free( salt_format );
+       ber_memfree( salt_format );
 
        salt_format = format != NULL ? ber_strdup( format ) : NULL;
 #endif