Commit 5a3fcf5c authored by Mariusz Kozlowski's avatar Mariusz Kozlowski Committed by Greg Kroah-Hartman
Browse files

USB: auerswald possible memleak fix

fix possible memory leak in auerbuf_setup().


	Mariusz Kozlowski
Signed-off-by: default avatarMariusz Kozlowski <>
Signed-off-by: default avatarWolfgang Muees <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 0029908b
......@@ -780,7 +780,7 @@ static int auerbuf_setup (pauerbufctl_t bcp, unsigned int numElements, unsigned
bl_fail:/* not enough memory. Free allocated elements */
dbg ("auerbuf_setup: no more memory");
auerbuf_free_buffers (bcp);
return -ENOMEM;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment