]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/mods.c
Fix matched values bug
[openldap] / servers / slapd / mods.c
index 529b4e74b2314e8f4a496c57d0c5d45a4aac9823..f57cf41dab6deb5c6c49b767a8a651b8353f55a9 100644 (file)
@@ -303,22 +303,3 @@ slap_mods_free(
        }
 }
 
-void
-slap_modlist_free(
-    LDAPModList        *ml
-)
-{
-       LDAPModList *next;
-
-       for ( ; ml != NULL; ml = next ) {
-               next = ml->ml_next;
-
-               if (ml->ml_type)
-                       free( ml->ml_type );
-
-               if ( ml->ml_bvalues != NULL )
-                       ber_bvecfree( ml->ml_bvalues );
-
-               free( ml );
-       }
-}