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/tessellimage.c | |
parent | Forgot one DPMS killing instance (diff) | |
parent | Update to 5.42 (diff) | |
download | xscreensaver-23.tar.gz xscreensaver-23.tar.xz xscreensaver-23.zip |
Merge branch 'master' into openslxv23
Diffstat (limited to 'hacks/tessellimage.c')
-rw-r--r-- | hacks/tessellimage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hacks/tessellimage.c b/hacks/tessellimage.c index b9a8bd9..40c5b94 100644 --- a/hacks/tessellimage.c +++ b/hacks/tessellimage.c @@ -300,6 +300,7 @@ analyze (struct state *st) progname, s); exit (1); } + if (s) free (s); } flush_cache (st); @@ -966,6 +967,7 @@ tessellimage_free (Display *dpy, Window window, void *closure) if (st->image) XFreePixmap (dpy, st->image); if (st->output) XFreePixmap (dpy, st->output); if (st->delta) XDestroyImage (st->delta); + if (st->img) XDestroyImage (st->img); free (st); } |