From: Howard Chu Date: Tue, 9 Jan 2024 17:11:04 +0000 (+0000) Subject: ITS#10130 cleanup prev commit X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf21be22dcd09156b65921370ab1a21f5ec41294;p=thirdparty%2Fopenldap.git ITS#10130 cleanup prev commit --- diff --git a/clients/tools/ldapvc.c b/clients/tools/ldapvc.c index badbdb947d..264f29316f 100644 --- a/clients/tools/ldapvc.c +++ b/clients/tools/ldapvc.c @@ -312,7 +312,6 @@ main( int argc, char *argv[] ) char *userpw = getpassphrase(_("User's password: ")); if ( userpw == NULL ) /* Allow EOF to exit. */ { - free( cred.bv_val ); tool_exit( ld, EXIT_FAILURE ); } cred.bv_val = strdup(userpw);