fix mem leak in cleanup() 60e9a149
maybe leak isn't the best word, given that the object lives for the
entire duration of the program's lifetime.

however, all elements of scheme are free-ed, can't think of any reason
why scheme itself should be an exception.
NRK · 2022-03-11 20:40 1 file(s) · +1 −0
dwm.c +1 −0
487 487
		drw_cur_free(drw, cursor[i]);
488 488
	for (i = 0; i < LENGTH(colors); i++)
489 489
		free(scheme[i]);
490 +
	free(scheme);
490 491
	XDestroyWindow(dpy, wmcheckwin);
491 492
	drw_free(drw);
492 493
	XSync(dpy, False);