This ports the following barebox commit: | commit af18710 | Author: Sascha Hauer <s.hauer@pengutronix.de> | Date: Wed Apr 19 10:13:58 2017 +0200 | | state: backend_bucket_circular: Do not leak memory | | buf was just allocated, free it before returning an error. | | Reported-by: Sam Ravnborg <sam@ravnborg.org> | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
af18710