Simple test for the kernel memory leak detector

modulename: kmemleak-test.ko

configname: CONFIG_DEBUG_KMEMLEAK_TEST

Linux Kernel Configuration
└─>Kernel hacking
└─>Memory Debugging
└─>Simple test for the kernel memory leak detector
In linux kernel since version 2.6.31 (release Date: 2009-09-09)  
This option enables a module that explicitly leaks memory.

If unsure, say N.

source code:
depends
CONFIG_DEBUG_KMEMLEAK
CONFIG_MODULES