]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10130 cleanup prev commit
authorHoward Chu <hyc@openldap.org>
Tue, 9 Jan 2024 17:11:04 +0000 (17:11 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 10 Jan 2024 18:47:36 +0000 (18:47 +0000)
clients/tools/ldapvc.c

index badbdb947d4e3eb6e83d6a821c33e3c33fa20a6b..264f29316fb161b36cc77821716316e63e3668bd 100644 (file)
@@ -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);