commit | 09468b0392b1d2b079b334d60a23d7da8105dc53 | [log] [tgz] |
---|---|---|
author | Kevin McKinney <klmckinney1@gmail.com> | Thu Dec 01 22:02:15 2011 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Dec 08 12:42:15 2011 -0800 |
tree | b073e5bad8d90cc1a02a0a6ccca5732efab41ac2 | |
parent | 4c6fb5fc050a4430363d92994132fffa6776c9d4 [diff] |
Staging: bcm: Fix double free of 'pReadData' in IOCTL_BCM_NVM_WRITE. This patch fixes a memory error in ioctl, IOCTL_BCM_NVM_WRITE. While copying data to user space, if an error occurs, pReadData is freed. Then, at the end of the ioctl, pReadData was being freed again. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>