summaryrefslogtreecommitdiffstats
path: root/hacks/flame.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/flame.c')
-rw-r--r--hacks/flame.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hacks/flame.c b/hacks/flame.c
index 7b59056..f7e9833 100644
--- a/hacks/flame.c
+++ b/hacks/flame.c
@@ -459,6 +459,8 @@ static void
flame_free (Display *dpy, Window window, void *closure)
{
struct state *st = (struct state *) closure;
+ XFreeGC (dpy, st->gc);
+ free (st->colors);
free (st);
}