Parent: bb14a8b18f9462aade345cb0529957b152b75db9
Author: Bastien Nocera <hadess@hadess.net>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-08-21 20:23:54
Tree: 4bd600392c78cdad8477bfb7091a89c4f13f3de3
input: Fix incorrect destructors being used g_key_file_get_string() expects its value to be freed with g_free(), not free(). Fixes: profiles/input/manager.c:118:2: leaked_storage: Variable "uhid_enabled" going out of scope leaks the storage it points to. profiles/input/hog.c:267:1: leaked_storage: Variable "uhid_enabled" going out of scope leaks the storage it points to.
Diffstat
| M | profiles/input/hog.c | | | 2 | +- |
| M | profiles/input/manager.c | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)