summaryrefslogtreecommitdiffstats
path: root/hacks/pyro.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/pyro.c')
-rw-r--r--hacks/pyro.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hacks/pyro.c b/hacks/pyro.c
index 442ea7f..44bd58a 100644
--- a/hacks/pyro.c
+++ b/hacks/pyro.c
@@ -340,6 +340,10 @@ static void
pyro_free (Display *dpy, Window window, void *closure)
{
struct state *st = (struct state *) closure;
+ XFreeGC (dpy, st->draw_gc);
+ XFreeGC (dpy, st->erase_gc);
+ free (st->projectiles);
+ free (st->sorted_projectiles);
free (st);
}