Index: b:/users/tzachid/MLNX_WinOF-2_1_2/core/complib/cl_obj.c
===================================================================
--- b:/users/tzachid/MLNX_WinOF-2_1_2/core/complib/cl_obj.c             
(revision 6356)
+++ b:/users/tzachid/MLNX_WinOF-2_1_2/core/complib/cl_obj.c          (revision 
6357)
@@ -485,6 +485,7 @@
                /* If the reference count went to 0, the object should be 
destroyed. */
                if( ref_cnt == 0 )
                {
+                             CL_ASSERT( p_obj->state == CL_DESTROYING );
                                if( p_obj->destroy_type == CL_DESTROY_ASYNC )
                                {
                                                /* Queue the object for 
asynchronous destruction. */
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to