From 39f6461d9088f78bf8ead4b8de11d07e40227d6c Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount <quanah@openldap.org> Date: Tue, 4 Jan 2011 21:55:36 +0000 Subject: [PATCH] plug minor leak --- clients/tools/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/tools/common.c b/clients/tools/common.c index bb3a220084..0a503818e2 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -672,6 +672,8 @@ tool_args( int argc, char **argv ) control ); usage(); } + ber_memfree( control ); + control = NULL; break; case 'f': /* read from file */ if( infile != NULL ) { -- GitLab