ITS#6005 strings from ber_scanf must be ber_memfree'd

This commit is contained in:
Howard Chu 2009-03-08 00:08:09 +00:00
parent 5d74bea520
commit 789388ddfe

View File

@ -379,7 +379,7 @@ main( int argc, char *argv[] )
perror( "ber_scanf" ); perror( "ber_scanf" );
} else { } else {
printf(_("New password: %s\n"), s); printf(_("New password: %s\n"), s);
free( s ); ber_memfree( s );
} }
ber_free( ber, 1 ); ber_free( ber, 1 );