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/squiral.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hacks/squiral.c') diff --git a/hacks/squiral.c b/hacks/squiral.c index a38e060..c1fa16f 100644 --- a/hacks/squiral.c +++ b/hacks/squiral.c @@ -253,6 +253,12 @@ static void squiral_free (Display *dpy, Window window, void *closure) { struct state *st = (struct state *) closure; + if (st->worms) free (st->worms); + if (st->fill) free (st->fill); +/* if (st->ncolors) + free_colors (st->xgwa.screen, st->xgwa.cmap, st->colors, st->ncolors); */ + XFreeGC (dpy, st->draw_gc); + XFreeGC (dpy, st->erase_gc); free (st); } -- cgit v1.2.3-55-g7522