]> git.sur5r.net Git - openldap/blobdiff - clients/tools/ldapmodify.c
Minor cleanup (coverity)
[openldap] / clients / tools / ldapmodify.c
index d35504e321967fbfc342bcda68169a30bd9af314..2237433de2382c3ebdf8dc65aeee1a9a03fc4eff 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2013 The OpenLDAP Foundation.
+ * Copyright 1998-2014 The OpenLDAP Foundation.
  * Portions Copyright 2006 Howard Chu.
  * Portions Copyright 1998-2003 Kurt D. Zeilenga.
  * Portions Copyright 1998-2001 Net Boolean Incorporated.
@@ -187,6 +187,7 @@ handle_private_option( int i )
                                control );
                        usage();
                }
+               ber_memfree( control );
                break;
 
        case 'a':       /* add */