From 789388ddfedee27d1ccf9ad96bd883b510b88fa6 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 8 Mar 2009 00:08:09 +0000 Subject: [PATCH] ITS#6005 strings from ber_scanf must be ber_memfree'd --- clients/tools/ldappasswd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index b3a6ad6030..d163850054 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -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 ); -- 2.39.5