[Openchrome-devel] [Bug 72088] cppcheck report

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 2 19:43:12 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=72088

--- Comment #1 from Mario Rugiero <mrugiero at gmail.com> ---
Created attachment 90136
  --> https://bugs.freedesktop.org/attachment.cgi?id=90136&action=edit
This patch should fix all or most of the memory related warnings.

Should fix the following warnings:

[src/via_3d.c:260] -> [src/via_3d.c:261]: (warning) Possible null pointer
dereference: v3d - otherwise it is redundant to check it against null.
[src/via_dri.c:481]: (error) Memory leak: pVIAConfigPtrs
[src/via_driver.c:1107]: (error) Memory pointed to by 'pEnt' is freed twice.
[src/via_exa.c:222] -> [src/via_exa.c:220]: (warning) Possible null pointer
dereference: cb - otherwise it is redundant to check it against null.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/openchrome-devel/attachments/20131203/88298824/attachment.html>


More information about the Openchrome-devel mailing list