diff options
author | Simon Rettberg | 2019-02-18 11:55:58 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-18 11:55:58 +0100 |
commit | aa7530630e595b80d5db54655fd827b61edc0fd7 (patch) | |
tree | 048cb74072450c7592f254c3537ac8f252d09d73 /hacks/squiral.c | |
parent | Forgot one DPMS killing instance (diff) | |
parent | Update to 5.42 (diff) | |
download | xscreensaver-aa7530630e595b80d5db54655fd827b61edc0fd7.tar.gz xscreensaver-aa7530630e595b80d5db54655fd827b61edc0fd7.tar.xz xscreensaver-aa7530630e595b80d5db54655fd827b61edc0fd7.zip |
Merge branch 'master' into openslxv23
Diffstat (limited to 'hacks/squiral.c')
-rw-r--r-- | hacks/squiral.c | 6 |
1 files changed, 6 insertions, 0 deletions
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); } |