mirror of
https://github.com/choff/anbox-modules.git
synced 2026-11-08 10:25:50 +08:00
binder_init() registers the shrinker before init_binderfs(). On failure
the error path returns without binder_alloc_shrinker_exit(), and a failed
module init never runs binder_exit(). The module text is freed while the
shrinker stays registered.
Mainline fixed this in adb9743d6a08 ("binder: fix memory leak in
binder_init()"). Call the existing exit helper on
err_alloc_device_names_failed, which is only reached after a successful
shrinker init.
|
||
|---|---|---|
| .. | ||
| binder_alloc.c | ||
| binder_alloc.h | ||
| binder_internal.h | ||
| binder_trace.h | ||
| binder.c | ||
| binder.h | ||
| binderfs.c | ||
| compat_version.h | ||
| deps.c | ||
| deps.h | ||
| dkms.conf | ||
| Makefile | ||