refine previous commits

This commit is contained in:
Pierangelo Masarati 2006-02-07 19:11:51 +00:00
parent 6275c6ecdc
commit 54b621658b

View file

@ -358,5 +358,13 @@ do_base( char *uri, struct berval *base, struct berval *pass, int maxloop, int f
fprintf( stderr, "Done %d Binds in %ld.%06ld seconds.\n", i,
(long) end.tv_sec, (long) end.tv_usec );
#endif
if ( rdns ) {
for ( i = 0; i < nrdns; i++ ) {
free( rdns[i].bv_val );
}
free( rdns );
}
return 0;
}