commit | 8788fa0344419d1d9bd1be3f61f1f0c4d9c1d568 | [log] [tgz] |
---|---|---|
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | Thu Apr 05 14:56:10 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 18 13:51:19 2012 -0700 |
tree | e3e89efe9d4707d692f3d23b0a701ac86d96d125 | |
parent | 8cb2268001f9553f9ff83416ce3f009c4ab1e089 [diff] |
isp1760-hcd: fix possible memory leak if urb could not be enqueued After packetize_urb was called, we could still run into an error path and will not hand over the prepared qtd to the qtd_list. Make sure to free the prepared qtd in that case to avoid memory leaks. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>