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/glx/xlock-gl-utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hacks/glx/xlock-gl-utils.c') diff --git a/hacks/glx/xlock-gl-utils.c b/hacks/glx/xlock-gl-utils.c index 36d724c..3e610a1 100644 --- a/hacks/glx/xlock-gl-utils.c +++ b/hacks/glx/xlock-gl-utils.c @@ -132,6 +132,7 @@ init_GL(ModeInfo * mi) if (! XParseColor (dpy, mi->xgwa.colormap, s, &c)) fprintf (stderr, "%s: can't parse color %s; using black.\n", progname, s); + if (s) free (s); glClearColor (c.red / 65535.0, c.green / 65535.0, c.blue / 65535.0, -- cgit v1.2.3-55-g7522