2 * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
3 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6 * Copyright (c) 1995 Regents of the University of Michigan.
9 * Redistribution and use in source and binary forms are permitted
10 * provided that this notice is preserved and that due credit is given
11 * to the University of Michigan at Ann Arbor. The name of the University
12 * may not be used to endorse or promote products derived from this
13 * software without specific prior written permission. This software
14 * is provided ``as is'' without express or implied warranty.
27 ad_free( mod->sm_desc, 1 );
29 if ( mod->sm_bvalues != NULL )
30 ber_bvecfree( mod->sm_bvalues );
43 for ( ; ml != NULL; ml = next ) {
46 slap_mod_free( &ml->sml_mod, 0 );
58 for ( ; ml != NULL; ml = next ) {
64 if ( ml->ml_bvalues != NULL )
65 ber_bvecfree( ml->ml_bvalues );