Skip to content
Snippets Groups Projects
Commit cf31d486 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

don't free officially dummy values

parent d1143204
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,9 @@ attr_free( Attribute *a )
if ( a->a_nvals && a->a_nvals != a->a_vals ) {
ber_bvarray_free( a->a_nvals );
}
ber_bvarray_free( a->a_vals );
if ( a->a_vals != &slap_dummy_bv ) {
ber_bvarray_free( a->a_vals );
}
free( a );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment