From: Pierangelo Masarati Date: Tue, 4 Jan 2011 18:45:21 +0000 (+0000) Subject: plug minor leak X-Git-Tag: MIGRATION_CVS2GIT~245 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f8761cfebbddfe8e6c079b45217f5d9840e9b251;p=openldap plug minor leak --- diff --git a/clients/tools/common.c b/clients/tools/common.c index d00f84d163..ab7e394cee 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -720,6 +720,8 @@ tool_args( int argc, char **argv ) control ); usage(); } + ber_memfree( control ); + control = NULL; break; case 'f': /* read from file */ if( infile != NULL ) {