[ros-bugs] [Bug 4974] New: found resource leaks, memory leaks and missmatching allocation/dealloction bugs

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sun Nov 29 23:21:07 CET 2009


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

           Summary: found resource leaks, memory leaks and missmatching
                    allocation/dealloction bugs
           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


Hi,

i have checked the sources of reactos with static code analysis tool cppcheck.
It found a few issues:
- resource leak at reactos/base/applications/tsclient/rdesktop/rdesktop.c 
- resource and memory leak at
reactos/base/applications/tsclient/rdesktop/uiports/qtwin.cpp
- missmatch in allocation/deallocation
reactos/base/applications/network/telnet/src/tnetwork.cpp

please see the attached patch, the fixes the issues.

There are a lot more issues like that. I have no time to fix them at all.
Please use the static analyser yourself. It is available on sourceforge:

http://sourceforge.net/projects/cppcheck/

Best regards

Martin Ettl


-- 
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