From: Howard Chu Date: Sun, 8 Mar 2009 00:08:09 +0000 (+0000) Subject: ITS#6005 strings from ber_scanf must be ber_memfree'd X-Git-Tag: ACLCHECK_0~722 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=789388ddfedee27d1ccf9ad96bd883b510b88fa6;p=openldap ITS#6005 strings from ber_scanf must be ber_memfree'd --- 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 );