summaryrefslogtreecommitdiffstats
path: root/hacks/xspirograph.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/xspirograph.c')
-rw-r--r--hacks/xspirograph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hacks/xspirograph.c b/hacks/xspirograph.c
index e6504ff..a67d8b2 100644
--- a/hacks/xspirograph.c
+++ b/hacks/xspirograph.c
@@ -303,6 +303,7 @@ static void
xspirograph_free (Display *dpy, Window window, void *closure)
{
struct state *st = (struct state *) closure;
+ XFreeGC (dpy, st->draw_gc);
free (st);
}