From: Quanah Gibson-Mount Date: Mon, 2 Apr 2007 00:43:16 +0000 (+0000) Subject: Use correct memory free function (ITS#4901) X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~566 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2fa94d3f7ed45eafbd516f6230e9829ea242a280;p=openldap Use correct memory free function (ITS#4901) --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index ee59c0f7dc..dcd522c28b 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -372,9 +372,9 @@ main( int argc, char **argv ) fprintf( rejfp, "\n%s\n", rejbuf ); } - if (rejfp) free( rejbuf ); + if (rejfp) ber_memfree( rejbuf ); } - free( rbuf ); + ber_memfree( rbuf ); #ifdef LDAP_X_TXN if( retval == 0 && txn ) {