that was not acquired.
Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1@258
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
* we're cleaning up the callback lists.\r
*/\r
if( !proxy_context_ref( p_context ) )\r
- goto proxy_mad_recv_cb_err;\r
+ {\r
+ proxy_put_mad( p_mad_element );\r
+ CL_EXIT( ( AL_DBG_PROXY_CB | AL_DBG_MAD ), g_al_dbg_lvl );\r
+ return;\r
+ }\r
\r
/* Insert an item to track the MAD until the user fetches it. */\r
cl_spinlock_acquire( &p_context->h_al->obj.lock );\r