diff --git a/kernel/core_hook.c b/kernel/core_hook.c index d06d1dba..019ae4ef 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -1027,6 +1027,7 @@ static void ksu_try_umount(const char *mnt, bool check_mnt, int flags) // we are only interest in some specific mounts if (check_mnt && !should_umount(&path)) { + path_put(&path); return; }