Skip to contentSkip to conversation

New: [cppcheck] found a memory leak in linux-2.6/drivers/scsi/aacraid/commctrl.c

Bug 15493 [email protected] 1 participant 1 message Mar 9, 2010 SCSI

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=15493

Summary: [cppcheck] found a memory leak in
linux-2.6/drivers/scsi/aacraid/commctrl.c
Product: IO/Storage
Version: 2.5
Kernel Version: 2.6.34 git head
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: SCSI
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

Created an attachment (id=25425)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25425)
fix

during a check of the current git head of the linux kernel with the static code analysis tool cppcheck
(http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page) the tool discovered a memory leak in linux-2.6/drivers/scsi/aacraid/commctrl.c

Please refer the attached patch, that fixes the issue.

Best regards

Ettl Martin

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.