mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Although when a process terminates, the kernel will removes memory associated with that process, It's neither good style nor proper design to leave it to kernel. This patch free allocated memory before process exit. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Jianlin Lv <[email protected]> Signed-off-by: Andrew Morton <[email protected]>