summaryrefslogtreecommitdiff
path: root/test/keyboard.c
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2023-02-11 23:03:39 +0100
committerAlbert Cervin <albert@acervin.com>2023-02-15 23:41:35 +0100
commite45499816eab8abadbdd5bb6dd79b526a4ed6648 (patch)
tree3cdcb0238aaae8ed1b3578e4ad71883f0702de3c /test/keyboard.c
parentc2976cea9bbca465712534b7e523783e2ccc6c6e (diff)
downloaddged-e45499816eab8abadbdd5bb6dd79b526a4ed6648.tar.gz
dged-e45499816eab8abadbdd5bb6dd79b526a4ed6648.tar.xz
dged-e45499816eab8abadbdd5bb6dd79b526a4ed6648.zip
Implement undo
This also fixes a bunch of valgrind errors
Diffstat (limited to 'test/keyboard.c')
-rw-r--r--test/keyboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/keyboard.c b/test/keyboard.c
index b85c4ad..a76d2a7 100644
--- a/test/keyboard.c
+++ b/test/keyboard.c
@@ -68,6 +68,7 @@ void fake_keyboard_close_write(struct fake_keyboard *kbd) {
void fake_keyboard_destroy(struct fake_keyboard *kbd) {
fake_keyboard_close_write(kbd);
+ reactor_destroy(kbd->reactor);
}
void simple_key() {