shithub: neindaw

Download patch

ref: f759087b2470fc584b7373a9c1ad4a730f4c6c52
parent: db328d440497a5d2b0292b55f9ceb77e5eb9a0e8
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Mar 20 18:59:30 EDT 2020

cfg: close group's fd

--- a/cfg/cfg.c
+++ b/cfg/cfg.c
@@ -102,6 +102,8 @@
 		case UITGroup:
 		case UIHGroup:
 		case UIVGroup:
+			close(ui->ctl);
+			ui->ctl = -1;
 			break;
 		case UIButton:
 		case UICheckBox: