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/cynosure.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hacks/cynosure.c') diff --git a/hacks/cynosure.c b/hacks/cynosure.c index 8b8b85b..3eaa397 100644 --- a/hacks/cynosure.c +++ b/hacks/cynosure.c @@ -409,6 +409,11 @@ static void cynosure_free (Display *dpy, Window window, void *closure) { struct state *st = (struct state *) closure; + XFreeGC (dpy, st->fg_gc); + XFreeGC (dpy, st->bg_gc); + XFreeGC (dpy, st->shadow_gc); + if (st->colors) free (st->colors); + if (st->colors2) free (st->colors2); free (st); } -- cgit v1.2.3-55-g7522