libibverbs/device: destroy completion channel when closing device
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 29 Jan 2010 05:07:01 +0000 (05:07 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 29 Jan 2010 05:07:01 +0000 (05:07 +0000)
commit574665f288c1724ba0da5ae2e4f3e2d2db484ebc
tree7bc70d9218aa7caa6bfd983a611ff727143ae72e
parent918a3a2579823fcdcd89da228c32a80204f6cda3
libibverbs/device: destroy completion channel when closing device

From: Sean Hefty <sean.hefty@intel.com>

ibv_close_device should destroy the completion channel
when closing the device and freeing the memory.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2689 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
ulp/libibverbs/src/device.cpp