libcontrol: fix label memory leak

This commit is contained in:
mischief 2015-08-16 00:04:27 -07:00
parent f1efd09bbb
commit 0b48d5fdbf

View file

@ -65,6 +65,7 @@ labelfree(Control *c)
_putctlimage(l->image);
_putctlimage(l->textcolor);
_putctlimage(l->bordercolor);
free(l->text);
}