mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
ITS#6005 strings from ber_scanf must be ber_memfree'd
This commit is contained in:
parent
5d74bea520
commit
789388ddfe
@ -379,7 +379,7 @@ main( int argc, char *argv[] )
|
||||
perror( "ber_scanf" );
|
||||
} else {
|
||||
printf(_("New password: %s\n"), s);
|
||||
free( s );
|
||||
ber_memfree( s );
|
||||
}
|
||||
|
||||
ber_free( ber, 1 );
|
||||
|
Loading…
Reference in New Issue
Block a user