summaryrefslogtreecommitdiffstats
path: root/hacks/deco.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/deco.c')
-rw-r--r--hacks/deco.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hacks/deco.c b/hacks/deco.c
index 876badc..cebed2c 100644
--- a/hacks/deco.c
+++ b/hacks/deco.c
@@ -297,6 +297,8 @@ static void
deco_free (Display *dpy, Window window, void *closure)
{
struct state *st = (struct state *) closure;
+ XFreeGC (dpy, st->fgc);
+ XFreeGC (dpy, st->bgc);
free (st);
}