mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
V4L/DVB (7328): usb/opera1.c: fix a memory leak
This patch fixes a memory leak in the "testval == 0x67" case spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
46cb57e628
commit
77596058e1
1 changed files with 1 additions and 1 deletions
|
|
@ -478,9 +478,9 @@ static int opera1_xilinx_load_firmware(struct usb_device *dev,
|
|||
err("could not restart the USB controller CPU.");
|
||||
ret = -EINVAL;
|
||||
}
|
||||
kfree(p);
|
||||
}
|
||||
}
|
||||
kfree(p);
|
||||
if (fw) {
|
||||
release_firmware(fw);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue