From 144a83d761ef857e4a91b0b8487579c4fd1651c7 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 27 Sep 2021 19:53:16 +0900 Subject: [PATCH] [input] Free phys and uniq device strings Forgot to do so when I added the strings. --- libs/input/evdev/inputlib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/input/evdev/inputlib.c b/libs/input/evdev/inputlib.c index 3085102b3..02a3611f8 100644 --- a/libs/input/evdev/inputlib.c +++ b/libs/input/evdev/inputlib.c @@ -388,6 +388,8 @@ close_device (device_t *dev) if (dev->axes) { free (dev->axes); } + free (dev->phys); + free (dev->uniq); free (dev->name); free (dev->path); free (dev);