commit | 8fb984256199c8b5a5c1b240d0aa48fe02c8565d | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Apr 19 11:56:02 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 24 16:40:09 2020 -0400 |
tree | 5c76d1640a2d27dff9dc61b2aa098e277fa992c3 | |
parent | 084462d360a01ecc639df813cac8e356f4591821 [diff] |
coccinelle: adjust NULL check before free() The free() function checks if its argument is NULL. We should avoid checking for NULL before calling free like in if (result->tds) free(result->tds); The list of relevant functions differs between Linux and U-Boot, e.g. we use free(). Adjust the list of relevant functions. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>