Searched hist:"29 c59c44c8f1e45f2a63f23fc0afa3b5c29891bd" (Results 1 – 1 of 1) sorted by relevance
/openbmc/obmc-console/ |
H A D | console-server.c | diff 29c59c44c8f1e45f2a63f23fc0afa3b5c29891bd Wed May 03 05:03:07 CDT 2023 Andrew Jeffery <andrew@aj.id.au> console-server: Consistently use cleanup labels on error
We've already allocated the `struct console` object here, and some error paths before and after jump to the `out_*` labels, but others just `return EXIT_FAILURE`. Pick a consistent strategy, and also one that aligns with useful leak analysis results.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I2e9be530823fb117bf2d013757c99d8d43e680d7
|