shithub: riscv

Download patch

ref: 0b48d5fdbfd91033765acbbc66e820a363a5d660
parent: f1efd09bbb88e0c2f103b466aaa731a833932adb
author: mischief <mischief@offblast.org>
date: Sat Aug 15 20:04:27 EDT 2015

libcontrol: fix label memory leak

--- a/sys/src/libcontrol/label.c
+++ b/sys/src/libcontrol/label.c
@@ -65,6 +65,7 @@
 	_putctlimage(l->image);
 	_putctlimage(l->textcolor);
 	_putctlimage(l->bordercolor);
+	free(l->text);
 }