diff options
author | 2023-02-17 12:02:26 +0100 | |
---|---|---|
committer | 2023-02-17 12:02:26 +0100 | |
commit | 79eeab1d85e0fee4c0bc36f3b6ddf3920f39f74b (patch) | |
tree | a78daf1e75f6cc27c5deee9f2904d993c56fc6bc /scripts/generate_rust_analyzer.py | |
parent | Merge tag 'intel-gpio-v6.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-gpio-intel into gpio/for-current (diff) | |
download | wireguard-linux-79eeab1d85e0fee4c0bc36f3b6ddf3920f39f74b.tar.xz wireguard-linux-79eeab1d85e0fee4c0bc36f3b6ddf3920f39f74b.zip |
gpio: sim: fix a memory leak
Fix an inverted logic bug in gpio_sim_remove_hogs() that leads to GPIO
hog structures never being freed.
Fixes: cb8c474e79be ("gpio: sim: new testing module")
Reported-by: Mirsad Goran Todorovac <mirsad.todorovac@alu.unizg.hr>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions