[ros-bugs] [Bug 4989] New: found a resource leak in reactos/lib/3rdparty/bzip2/unzcrash.c

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sat Dec 5 14:06:11 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4989

           Summary: found a resource leak in
                    reactos/lib/3rdparty/bzip2/unzcrash.c
           Product: ReactOS
           Version: TRUNK
          Platform: QEmu
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Other
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: ettl.martin at gmx.de
         QAContact: ros-bugs at reactos.org


Created an attachment (id=4455)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=4455)
proper fix

Hello,

i have checked the sources of reactos with the static code analysis tool
cppcheck (http://github.com/danmar/cppcheck/commits/master). It found a
resource
leak in file  reactos/lib/3rdparty/bzip2/unzcrash.c at
line 141. Please see the attached patch, that fixes the leak.

Best regards

Ettl Martin


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list