]> git.sur5r.net Git - openldap/commitdiff
plug minor leak
authorPierangelo Masarati <ando@openldap.org>
Tue, 4 Jan 2011 18:45:21 +0000 (18:45 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 4 Jan 2011 18:45:21 +0000 (18:45 +0000)
clients/tools/common.c

index d00f84d163828f7fe5b836367efec5052b961623..ab7e394ceef6d20616bd3580ee7df9d4a58febe2 100644 (file)
@@ -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 ) {