]> git.sur5r.net Git - openldap/commitdiff
Use correct memory free function (ITS#4901)
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 2 Apr 2007 00:43:16 +0000 (00:43 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 2 Apr 2007 00:43:16 +0000 (00:43 +0000)
clients/tools/ldapmodify.c

index ee59c0f7dc8f83d0a203245f952f024cb591ff00..dcd522c28be02fd1b33a7edd63b42f365b682e23 100644 (file)
@@ -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 ) {