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/hexadrop.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hacks/hexadrop.c') diff --git a/hacks/hexadrop.c b/hacks/hexadrop.c index 678a3c3..e8c2d65 100644 --- a/hacks/hexadrop.c +++ b/hacks/hexadrop.c @@ -277,7 +277,8 @@ hexadrop_init_1 (Display *dpy, Window window, state *st) else st->lockstep_p = get_boolean_resource (st->dpy, "lockstep","Lockstep"); } - + if (s1) free (s1); + if (s2) free (s2); st->sides = get_integer_resource (st->dpy, "sides", "Sides"); if (! (st->sides == 0 || st->sides == 3 || st->sides == 4 || @@ -355,6 +356,7 @@ hexadrop_free (Display *dpy, Window window, void *closure) XFreeGC (st->dpy, st->gc); st->gc = 0; } + free (st); } -- cgit v1.2.3-55-g7522