- *tmp = (Operation *) calloc( 1, sizeof(Operation) );
- ldap_pvt_thread_mutex_init( &(*tmp)->o_abandonmutex );
- (*tmp)->o_ber = ber;
- (*tmp)->o_msgid = msgid;
- (*tmp)->o_tag = tag;
- (*tmp)->o_abandon = 0;
-
- (*tmp)->o_dn = ch_strdup( dn != NULL ? dn : "" );
- (*tmp)->o_ndn = dn_normalize_case( ch_strdup( (*tmp)->o_dn ) );