Bug 40782 - cppcheck warnings (memory leaks, resources not freed, ...)
Summary: cppcheck warnings (memory leaks, resources not freed, ...)
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-11 05:50 UTC by Antoine B.
Modified: 2018-06-13 17:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
cppcheck's report (9.23 KB, text/xml)
2011-09-11 05:50 UTC, Antoine B.
no flags Details

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.