summaryrefslogtreecommitdiffstats
path: root/hacks/xspirograph.c
diff options
context:
space:
mode:
authorSimon Rettberg2019-02-18 11:55:58 +0100
committerSimon Rettberg2019-02-18 11:55:58 +0100
commitaa7530630e595b80d5db54655fd827b61edc0fd7 (patch)
tree048cb74072450c7592f254c3537ac8f252d09d73 /hacks/xspirograph.c
parentForgot one DPMS killing instance (diff)
parentUpdate to 5.42 (diff)
downloadxscreensaver-aa7530630e595b80d5db54655fd827b61edc0fd7.tar.gz
xscreensaver-aa7530630e595b80d5db54655fd827b61edc0fd7.tar.xz
xscreensaver-aa7530630e595b80d5db54655fd827b61edc0fd7.zip
Merge branch 'master' into openslxv23
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);
}