]> git.sur5r.net Git - openldap/commitdiff
plug minor leak
authorQuanah Gibson-Mount <quanah@openldap.org>
Tue, 4 Jan 2011 21:55:36 +0000 (21:55 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 4 Jan 2011 21:55:36 +0000 (21:55 +0000)
clients/tools/common.c

index bb3a2200844d22ed5b892fabbe54c37f2c159bf8..0a503818e2b6b640e5ec5bd1f0afd7bbd0509c05 100644 (file)
@@ -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 ) {