[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


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 QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20170215/681d82db/attachment.html>

More information about the intel-3d-bugs mailing list