Skip to content
Snippets Groups Projects
Commit 8bb7496e authored by Heinrich Schuchardt's avatar Heinrich Schuchardt :speech_balloon: Committed by Andes
Browse files

clk: kendryte: no need to check argument of free()


free() checks if its argument is NULL. No need to check it twice.

Signed-off-by: Heinrich Schuchardt's avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: default avatarSean Anderson <seanga2@gmail.com>
parent c99e87f8
No related branches found
No related tags found
No related merge requests found
......@@ -471,8 +471,7 @@ cleanup_gate:
cleanup_div:
free(div);
cleanup_mux:
if (mux)
free(mux);
free(mux);
return comp;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment