summaryrefslogtreecommitdiffstats
path: root/hacks/tessellimage.c
diff options
context:
space:
mode:
authorSimon Rettberg2019-02-18 11:55:41 +0100
committerSimon Rettberg2019-02-18 11:55:41 +0100
commitae69a754244c4e475c8d2591772ca8e005071d83 (patch)
tree58b3fa7abc2dcfe3c23e1c0ce108950c720826ab /hacks/tessellimage.c
parentUpdate gitignore (diff)
downloadxscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.tar.gz
xscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.tar.xz
xscreensaver-ae69a754244c4e475c8d2591772ca8e005071d83.zip
Update to 5.42
Diffstat (limited to 'hacks/tessellimage.c')
-rw-r--r--hacks/tessellimage.c2
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);
}