Close template fds

This commit is contained in:
kamkow1
2025-06-09 22:12:17 +02:00
parent a8c5d7817d
commit beda942c33

View File

@ -29,6 +29,9 @@ void tmpls_init(void)
void tmpls_deinit(void) void tmpls_deinit(void)
{ {
for (size_t i = 0; i < shlen(tmpls); i++) {
close(tmpls[i].value);
}
shfree(tmpls); shfree(tmpls);
} }