[COMPLIB] Fix incorrect assertion.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 9 Jul 2006 12:52:16 +0000 (12:52 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 9 Jul 2006 12:52:16 +0000 (12:52 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@409 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/complib/cl_obj.c

index 191ef02..c84f61b 100644 (file)
@@ -693,7 +693,7 @@ __destroy_obj(
                        while( cl_event_wait_on( &p_obj->event, 10000000, FALSE ) ==\r
                                CL_TIMEOUT )\r
                        {\r
-                               CL_ASSERT( !ref_cnt );\r
+                               CL_ASSERT( !p_obj->ref_cnt );\r
                        }\r
 #else  /* DBG */\r
                        cl_event_wait_on( &p_obj->event, EVENT_NO_TIMEOUT, FALSE );\r