diff options
author | Simon Rettberg | 2019-02-18 11:55:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-18 11:55:41 +0100 |
commit | ae69a754244c4e475c8d2591772ca8e005071d83 (patch) | |
tree | 58b3fa7abc2dcfe3c23e1c0ce108950c720826ab /hacks/squiral.c | |
parent | Update gitignore (diff) | |
download | xscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.tar.gz xscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.tar.xz xscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.zip |
Update to 5.42
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); } |