]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
free hotkeys
authorewt <ewt>
Fri, 5 Mar 1999 23:27:57 +0000 (23:27 +0000)
committerewt <ewt>
Fri, 5 Mar 1999 23:27:57 +0000 (23:27 +0000)
form.c

diff --git a/form.c b/form.c
index ce52e9b9e3ab745d71a3c7ac8b61bad34392e08c..67ae70a1d2a44657df8d7546112d8d6021bddded 100644 (file)
--- a/form.c
+++ b/form.c
@@ -776,6 +776,8 @@ void newtFormDestroy(newtComponent co) {
        }
     }
 
+    if (form->hotKeys) free(form->hotKeys);
+
     free(form->elements);
     free(form);
     free(co);