From: Miroslav Lichvar Date: Mon, 2 Feb 2026 12:27:16 +0000 (+0100) Subject: free watched file descriptors when destroying form X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=facb7a34a7a36623c2c419a24aac83a5cffffba5;p=thirdparty%2Fnewt.git free watched file descriptors when destroying form --- diff --git a/form.c b/form.c index ad425af..74175e6 100644 --- a/form.c +++ b/form.c @@ -870,6 +870,7 @@ void newtFormDestroy(newtComponent co) { } if (form->hotKeys) free(form->hotKeys); + if (form->fds) free(form->fds); free(form->elements); free(form);