*key = saved_vals;
} else {
+ BerVarray old_vals = NULL;
+
+ ldap_pvt_thread_pool_getkey( op->o_threadctx,
+ key, (void **)&old_vals, NULL );
+ if ( old_vals != NULL ) {
+ ber_bvarray_free( old_vals );
+ }
+
ldap_pvt_thread_pool_setkey( op->o_threadctx, key,
saved_vals, memberof_saved_member_free );
}
NULL, NULL );
}
+ memberof_saved_member_set( op, &saved_memberof_vals, NULL );
ber_bvarray_free( vals );
}
NULL, NULL );
}
+ memberof_saved_member_set( op, &saved_member_vals, NULL );
ber_bvarray_free( vals );
}
}