From: Steven Schubiger Date: Sun, 25 Oct 2015 19:52:26 +0000 (+0100) Subject: Simplify code in cleanup function X-Git-Tag: v0.58~11 X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=commitdiff_plain;h=739d76185a32b0be8f236f0fdbbfb15080a032ef Simplify code in cleanup function --- diff --git a/colorize.c b/colorize.c index ee2db84..07a409e 100644 --- a/colorize.c +++ b/colorize.c @@ -493,9 +493,7 @@ cleanup (void) { unsigned int i; for (i = 0; i < stacked_vars; i++) - if (vars_list[i]) - free (vars_list[i]); - + free (vars_list[i]); free_null (vars_list); } }