summaryrefslogtreecommitdiffstats
path: root/hacks/pong.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/pong.c')
-rw-r--r--hacks/pong.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hacks/pong.c b/hacks/pong.c
index fe200c3..8c18a1c 100644
--- a/hacks/pong.c
+++ b/hacks/pong.c
@@ -1112,6 +1112,8 @@ pong_free (Display *dpy, Window window, void *closure)
{
struct state *st = (struct state *) closure;
analogtv_release(st->tv);
+ free(st->inp);
+ if (st->score_font.text_im) XDestroyImage (st->score_font.text_im);
free (st);
}