[Mesa-dev] [Bug 99789] Memory leak on failure to create an ir_constant in calculate_iterations in loop_controls.cpp

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 15 19:56:55 UTC 2017


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

Matt Turner <mattst88 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|damian.dixon at gmail.com      |

--- Comment #1 from Matt Turner <mattst88 at gmail.com> ---
(you don't need to Cc yourself on bugs you filed. you'll receive the emails
either way)

Yes, you are right. It looks like we should be calling ralloc_free(mem_ctx)
before the early return. The comment is not necessary.

Would you please send a patch to mesa-dev at lists.freedesktop.org? Feel free to
Cc me on it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170215/5514d178/attachment-0001.html>


More information about the mesa-dev mailing list