summaryrefslogtreecommitdiff
path: root/drivers/mfd/syscon.c
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2013-09-26 19:08:16 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 23:31:37 (GMT)
commit6741448eb01a1844b78c83fa8faf0c95524fc09b (patch)
tree93b1ab4c7a81045a47f49371354f55759e73ebb1 /drivers/mfd/syscon.c
parentd5b5c9f228bf15d134b0ac8d493b119417f5f9e9 (diff)
downloadlinux-fsl-qoriq-6741448eb01a1844b78c83fa8faf0c95524fc09b.tar.xz
usb: wusbcore: set pointers to NULL after freeing in error cases
This patch fixes two cases where error handling code was freeing memory but not setting the pointer to NULL. This could lead to a double free in the HWA shutdown code. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/syscon.c')
0 files changed, 0 insertions, 0 deletions