aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--colorize.c4
1 files changed, 1 insertions, 3 deletions
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);
}
}