Created attachment 23329 [details] should fix the possible memory leak Hello, during the check with the static code analysis tool cppcheck (available on sourceforge), i found a memory leak in file linux-2.6.31/kernel/resource.c. See the attached patch, the fixes this issue. Best regards Martin
This is not correct, we mustn't free the new resource if there is no conflict. See https://lkml.org/lkml/2010/1/9/52 Bug needs to be closed.