to duplicate settings.
git-svn-id: svn://openib.tc.cornell.edu/gen1@63
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
return status;\r
}\r
\r
+ /* Take a reference on behalf of the CEP. */\r
+ ref_al_obj( &p_listen->obj );\r
+\r
cep_listen.cmp_len = p_cm_listen->compare_length;\r
cep_listen.cmp_offset = p_cm_listen->compare_offset;\r
cep_listen.p_cmp_buf = p_cm_listen->p_compare_buffer;\r
\r
*ph_cm_listen = p_listen;\r
\r
- /* Note that we keep the reference held on behalf of the CEP. */\r
+ /* Release the reference taken in init_al_obj. */\r
+ deref_al_obj( &p_listen->obj );\r
\r
AL_EXIT( AL_DBG_CM );\r
return IB_SUCCESS;\r