diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-01-27 18:08:22 +0530 |
---|---|---|
committer | Markus Pargmann <mpa@pengutronix.de> | 2015-03-05 08:51:03 +0100 |
commit | ff6b8090e26ef7649ef0cc6b42389141ef48b0cf (patch) | |
tree | d95d23a2b1877e052c781eaefa9658c0b4e10774 /block/t10-pi.c | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
download | linux-ff6b8090e26ef7649ef0cc6b42389141ef48b0cf.tar.gz linux-ff6b8090e26ef7649ef0cc6b42389141ef48b0cf.tar.bz2 linux-ff6b8090e26ef7649ef0cc6b42389141ef48b0cf.zip |
nbd: fix possible memory leak
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>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions