From ae69a754244c4e475c8d2591772ca8e005071d83 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 18 Feb 2019 11:55:41 +0100 Subject: Update to 5.42 --- hacks/hyperball.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hacks/hyperball.c') diff --git a/hacks/hyperball.c b/hacks/hyperball.c index cae6360..767f008 100644 --- a/hacks/hyperball.c +++ b/hacks/hyperball.c @@ -548,6 +548,11 @@ static void hyperball_free (Display *dpy, Window window, void *closure) { struct hyper_state *hs = (struct hyper_state *) closure; + int i, j; + XFreeGC (dpy, hs->black_gc); + for (i = 0; i < 8; i++) + for (j = 0; j < 8; j++) + if (hs->hs_color_gcs[i][j]) XFreeGC (dpy, hs->hs_color_gcs[i][j]); free (hs); } -- cgit v1.2.3-55-g7522