diff options
author | 2008-09-30 10:36:54 -0700 | |
---|---|---|
committer | 2008-09-30 10:36:54 -0700 | |
commit | a7e80ce26caa174b1caa5fdfbb3dbd740a87d33a (patch) | |
tree | 5d5060f711aa2ec343086ced1a9257c29f4e3000 /lib/bitmap.c | |
parent | Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 (diff) | |
download | wireguard-linux-a7e80ce26caa174b1caa5fdfbb3dbd740a87d33a.tar.xz wireguard-linux-a7e80ce26caa174b1caa5fdfbb3dbd740a87d33a.zip |
IB/cm: Correctly free cm_device structure
commit 110cf374 ("infiniband: make cm_device use a struct device and
not a kobject.") introduced a memory leak, since it deleted
cm_release_dev_obj(), which was where cm_dev was freed. Fix this by
freeing the leaked structure after calling device_unregister().
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions