diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-01-27 15:38:22 +0300 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-04-23 21:58:28 +0300 |
commit | 4f33d5001b3e25e89e29277c85b954f9a2f75248 (patch) | |
tree | 4f71c070e4f1827d81084527032ef2bd4576bfa5 /net | |
parent | 43d9ca6b598118b0257180f6fa36b7486eef057f (diff) | |
download | linux-4f33d5001b3e25e89e29277c85b954f9a2f75248.tar.xz |
nbd: fix possible memory leak
[ Upstream commit ff6b8090e26ef7649ef0cc6b42389141ef48b0cf ]
we have already allocated memory for nbd_dev, but we were not
releasing that memory and just returning the error value.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Acked-by: Paul Clements <Paul.Clements@SteelEye.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions