diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2015-01-16 15:14:27 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-19 12:54:22 -0600 |
commit | 06ab8b04d232c80cb4b23984290ce413058cc975 (patch) | |
tree | f4bb0030c473818065a5b2ffc3754ec1e7f3b890 /drivers/usb/dwc2 | |
parent | 16272ae77e0f167af70eabd476059137d64569a8 (diff) | |
download | linux-06ab8b04d232c80cb4b23984290ce413058cc975.tar.gz linux-06ab8b04d232c80cb4b23984290ce413058cc975.tar.bz2 linux-06ab8b04d232c80cb4b23984290ce413058cc975.zip |
usb: gadget: uvc: preserve the address passed to kfree()
__uvcg_fill_strm() called from __uvcg_iter_stream_cls()
might have advanced the "data" even if __uvcg_iter_stream_cls()
returns an error, so use a backup copy as an argument to kfree().
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc2')
0 files changed, 0 insertions, 0 deletions