Fixed improper lock release in out-of-memory condition
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 29 Jul 2005 00:16:21 +0000 (00:16 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 29 Jul 2005 00:16:21 +0000 (00:16 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@43 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_mgr.c

index a911f6c..4a016a6 100644 (file)
@@ -473,7 +473,6 @@ al_hdl_insert(
                        cl_vector_set_size( &h_al->hdl_vector, size + AL_HDL_VECTOR_GROW );\r
                if( status != CL_SUCCESS )\r
                {\r
-                       cl_spinlock_release( &h_al->obj.lock );\r
                        AL_EXIT( AL_DBG_HDL );\r
                        return AL_INVALID_HANDLE;\r
                }\r