Hello, during the check with the static code analysis tool cppcheck (available on sourceforge:: https://sourceforge.net/projects/cppcheck/), i found a possible resource leak in file linux-2.6.31/arch/mips/boot/addinitrd.c. See the attached patch, the fixes this issue. Best regards
Created attachment 23344 [details] should fix the resource leak
Again, please don't send patches via bugzilla. Please email them! Documentation/SubmittingPatches has a lot of description. Please Cc myself and linux-kernel on each patch. Also use scripts/get_maintainer.sh to identify other relevant recipients. On Sun, 11 Oct 2009 20:01:12 GMT bugzilla-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=14369 > > Summary: found a resource leak in > linux-2.6.31/arch/mips/boot/addinitrd.c > Product: Other > Version: 2.5 > Kernel Version: 2.6.31 > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: normal > Priority: P1 > Component: Other > AssignedTo: other_other@kernel-bugs.osdl.org > ReportedBy: ettl.martin@gmx.de > Regression: No > > > Hello, > > during the check with the static code analysis tool cppcheck (available on > sourceforge:: https://sourceforge.net/projects/cppcheck/), i found a possible > resource leak in file > linux-2.6.31/arch/mips/boot/addinitrd.c. See the attached > patch, the fixes this issue. > > Best regards > > -- > Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are on the CC list for the bug.