From 2fa94d3f7ed45eafbd516f6230e9829ea242a280 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Mon, 2 Apr 2007 00:43:16 +0000 Subject: [PATCH] Use correct memory free function (ITS#4901) --- clients/tools/ldapmodify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) { -- 2.39.5