diff options
author | mischief <mischief@offblast.org> | 2015-08-16 00:04:27 -0700 |
---|---|---|
committer | mischief <mischief@offblast.org> | 2015-08-16 00:04:27 -0700 |
commit | 0b48d5fdbfd91033765acbbc66e820a363a5d660 (patch) | |
tree | 75366e42701f4216e4b9348fcd4a614760b54e92 /sys/src/libcontrol | |
parent | f1efd09bbb88e0c2f103b466aaa731a833932adb (diff) |
libcontrol: fix label memory leak
Diffstat (limited to 'sys/src/libcontrol')
-rw-r--r-- | sys/src/libcontrol/label.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/libcontrol/label.c b/sys/src/libcontrol/label.c index d924f6dd9..4698de314 100644 --- a/sys/src/libcontrol/label.c +++ b/sys/src/libcontrol/label.c @@ -65,6 +65,7 @@ labelfree(Control *c) _putctlimage(l->image); _putctlimage(l->textcolor); _putctlimage(l->bordercolor); + free(l->text); } |