summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorZqiang <qiang.zhang@windriver.com>2020-12-10 10:01:48 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-12 19:47:56 +0100
commit725675bcaa4e89d997052e6c8b8207cde2c3dbb1 (patch)
tree423b520cd4112fed2b4d7fb978ae452ef2e0304a /include/linux/fpga/fpga-mgr.h
parentf6acfff9684702e2e25c5defa32bd68ebe866c26 (diff)
usb: gadget: function: printer: Fix a memory leak for interface descriptor
commit 2cc332e4ee4febcbb685e2962ad323fe4b3b750a upstream. When printer driver is loaded, the printer_func_bind function is called, in this function, the interface descriptor be allocated memory, if after that, the error occurred, the interface descriptor memory need to be free. Reviewed-by: Peter Chen <peter.chen@nxp.com> Cc: <stable@vger.kernel.org> Signed-off-by: Zqiang <qiang.zhang@windriver.com> Link: https://lore.kernel.org/r/20201210020148.6691-1-qiang.zhang@windriver.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions