diff options
| author | Zhu Yanjun <[email protected]> | 2017-02-24 04:28:01 -0500 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-02-24 14:13:14 -0500 |
| commit | 3b5923f0796b13e731802d40faf62d2c59d98e48 (patch) | |
| tree | ecf819039abb0ac6715ae135ca1f838ed0a0b5b3 /drivers/fpga/fpga-bridge.c | |
| parent | 1158632b5a2dcce0786c1b1b99654e81cc867981 (diff) | |
rds: fix memory leak error
When the function register_netdevice_notifier fails, the memory
allocated by kmem_cache_create should be freed by the function
kmem_cache_destroy.
Cc: Joe Jin <[email protected]>
Cc: Junxiao Bi <[email protected]>
Signed-off-by: Zhu Yanjun <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Acked-by: Sowmini Varadhan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions