From: Sean Hefty Date: Thu, 28 Jan 2010 23:39:57 +0000 (-0800) Subject: Refresh of libibverbs-delete-channel X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=4be88436e4f413db2b5304590b6c0274c1d4b485;p=~shefty%2Frdma-win.git Refresh of libibverbs-delete-channel --- diff --git a/trunk/ulp/libibverbs/src/device.cpp b/trunk/ulp/libibverbs/src/device.cpp index 498d781f..1b66d3ce 100644 --- a/trunk/ulp/libibverbs/src/device.cpp +++ b/trunk/ulp/libibverbs/src/device.cpp @@ -279,9 +279,9 @@ int ibv_close_device(struct ibv_context *context) } context->cmd_if->Release(); + CompChannelCleanup(&vcontext->context.channel); ibv_release(); delete vcontext->port; - CompChannelCleanup(&vcontext->context.channel); delete vcontext; return 0; }