aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorSudip Mukherjee <[email protected]>2016-11-10 22:11:59 +0000
committerGreg Kroah-Hartman <[email protected]>2016-11-29 19:25:34 +0000
commit2bd362d5f45c17f3a41b3ab04e71508ffd3f48c5 (patch)
tree911516ca1d0a07f183893ab4c0f29a3cf8827efc /drivers/fpga/zynq-fpga.c
parentmei: me: add lewisburg device ids (diff)
downloadkernel-2bd362d5f45c17f3a41b3ab04e71508ffd3f48c5.tar.gz
kernel-2bd362d5f45c17f3a41b3ab04e71508ffd3f48c5.zip
ppdev: fix memory leak
The variable name was only released if parport_register_dev_model() fails. Now that we are using the device-model the parport driver will duplicate the name and use it. So we can release the variable after the device has been registered with the parport. Suggested-by: Arnd Bergmann <[email protected]> Signed-off-by: Sudip Mukherjee <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions