summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2015-08-31 14:17:47 -0400
committerTavian Barnes <tavianator@tavianator.com>2015-08-31 14:17:47 -0400
commit315b84d9f89a5fde2102fc692b7a984a524f93db (patch)
treed9ef28f2710c6fe981cf6ef386c748ffaef500e1
parent5c22e106a7c1aa8cf11fc023ad0bdd3a6fb34030 (diff)
downloadbfs-315b84d9f89a5fde2102fc692b7a984a524f93db.tar.xz
Free the colors.
-rw-r--r--bfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfs.c b/bfs.c
index febea31..fd75dec 100644
--- a/bfs.c
+++ b/bfs.c
@@ -117,6 +117,7 @@ struct cmdline {
static void free_cmdline(cmdline *cl) {
if (cl) {
free_expression(cl->expr);
+ free_colors(cl->colors);
free(cl->roots);
free(cl);
}