mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
ITS#6005 crypt salt_format must use ber_memfree
This commit is contained in:
parent
496937eb79
commit
d8e3b4e83e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue