[Mesa-dev] [Bug 89387] Double delete in lp_bld_misc.cpp
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 12 03:03:11 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89387
José Fonseca <jfonseca at vmware.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from José Fonseca <jfonseca at vmware.com> ---
(In reply to Chris Vine from comment #2)
> That will work fine.
Thanks.
> This does beg the question whether the code is correct for llvm < 3.6 (it
> fixes llvm >= 3.6).
I believe so.
LLVM 3.4 and 3.3's documentation for setMCJITMemoryManager/setJITMemoryManager
state they only take onwership if builder.create() is successful.
And indeed we only delete MM when builder.create() fails.
Fixed on
http://cgit.freedesktop.org/mesa/mesa/commit/?id=70dc8a9930f561d7ce6db7e58b5bc9b4d940e37b
--
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/mesa-dev/attachments/20150312/e712e95e/attachment.html>
More information about the mesa-dev
mailing list