]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
Refresh of libibverbs-delete-channel
authorSean Hefty <sean.hefty@intel.com>
Thu, 28 Jan 2010 23:39:57 +0000 (15:39 -0800)
committerSean Hefty <sean.hefty@intel.com>
Thu, 28 Jan 2010 23:39:57 +0000 (15:39 -0800)
trunk/ulp/libibverbs/src/device.cpp

index 498d781f085e73f148a3169bb295c887edb530c2..1b66d3cec912ba71f1831165b29c8406925d39f5 100644 (file)
@@ -279,9 +279,9 @@ int ibv_close_device(struct ibv_context *context)
        }\r
 \r
        context->cmd_if->Release();\r
+       CompChannelCleanup(&vcontext->context.channel);\r
        ibv_release();\r
        delete vcontext->port;\r
-       CompChannelCleanup(&vcontext->context.channel);\r
        delete vcontext;\r
        return 0;\r
 }\r