<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - cppcheck report"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72088#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - cppcheck report"
href="https://bugs.freedesktop.org/show_bug.cgi?id=72088">bug 72088</a>
from <span class="vcard"><a class="email" href="mailto:mrugiero@gmail.com" title="Mario Rugiero <mrugiero@gmail.com>"> <span class="fn">Mario Rugiero</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=90136" name="attach_90136" title="This patch should fix all or most of the memory related warnings.">attachment 90136</a> <a href="attachment.cgi?id=90136&action=edit" title="This patch should fix all or most of the memory related warnings.">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=72088&attachment=90136'>[review]</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>