X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=clients%2Ftools%2Fldapdelete.c;h=dba82d41cd9f316a41ddbed2bb4163d0ee9e0eb7;hb=4317c7ce54ceb41d57e6ec83f547edfaeedb574b;hp=f1db45eaa22396b7d06ad652e64373b6285f4f57;hpb=ea026cb2cf048c3700042e9776b183ddda1120a4;p=openldap diff --git a/clients/tools/ldapdelete.c b/clients/tools/ldapdelete.c index f1db45eaa2..dba82d41cd 100644 --- a/clients/tools/ldapdelete.c +++ b/clients/tools/ldapdelete.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2011 The OpenLDAP Foundation. + * Copyright 1998-2012 The OpenLDAP Foundation. * Portions Copyright 1998-2003 Kurt D. Zeilenga. * All rights reserved. * @@ -218,9 +218,7 @@ main( int argc, char **argv ) fclose( fp ); } - tool_unbind( ld ); - tool_destroy(); - return retval; + tool_exit( ld, retval ); }