From: Howard Chu Date: Mon, 9 Mar 2009 01:28:00 +0000 (+0000) Subject: ITS#6005 crypt salt_format must use ber_memfree X-Git-Tag: ACLCHECK_0~717 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d8e3b4e83ead6b13f5f9c082c8b2ed0683988ee5;p=openldap ITS#6005 crypt salt_format must use ber_memfree --- diff --git a/libraries/liblutil/passwd.c b/libraries/liblutil/passwd.c index 0f83f6bdf1..5a141fd207 100644 --- a/libraries/liblutil/passwd.c +++ b/libraries/liblutil/passwd.c @@ -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