Bug 40782

Summary: cppcheck warnings (memory leaks, resources not freed, ...)
Product: xorg Reporter: Antoine B. <merkil>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
cppcheck's report none

Description Antoine B. 2011-09-11 05:50:38 UTC
Created attachment 51050 [details]
cppcheck's report

Just ran cppcheck (the famous static C/C++ code analyzer - https://github.com/danmar/cppcheck) against the xserver's sources. It points out some interesting issues that would need to be checked.
I added the report as an attachment.
Comment 1 Alan Coopersmith 2013-12-24 03:54:00 UTC
Several of the reported memory leaks were fixed as noted in bug 50281.

Unfortunately a single bug report listing a bunch of different bugs is hard
to fix, and line number references from 2 years ago are likely to have changed
in the meantime.
Comment 2 Adam Jackson 2018-06-13 17:07:14 UTC
Definitely not going to go correlate line numbers from seven years ago.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.