projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/core: Add per port immutable struct to ib_device
[linux-block.git]
/
drivers
/
infiniband
/
core
/
sysfs.c
diff --git
a/drivers/infiniband/core/sysfs.c
b/drivers/infiniband/core/sysfs.c
index cbd0383f622e0311bd4f56652648609604cb94c4..d0334c101ecb0d2ef06f62e0bcd29483c0d021af 100644
(file)
--- a/
drivers/infiniband/core/sysfs.c
+++ b/
drivers/infiniband/core/sysfs.c
@@
-456,6
+456,7
@@
static void ib_device_release(struct device *device)
{
struct ib_device *dev = container_of(device, struct ib_device, dev);
+ kfree(dev->port_immutable);
kfree(dev);
}