From d8e3b4e83ead6b13f5f9c082c8b2ed0683988ee5 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 9 Mar 2009 01:28:00 +0000 Subject: [PATCH] ITS#6005 crypt salt_format must use ber_memfree --- libraries/liblutil/passwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5