[Mesa-dev] [Bug 89387] Double delete in lp_bld_misc.cpp
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 4 06:11:52 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89387
José Fonseca <jfonseca at vmware.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|mesa-dev at lists.freedesktop. |jfonseca at vmware.com
|org |
--- Comment #1 from José Fonseca <jfonseca at vmware.com> ---
Would this fix it?
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 5210acc..7387ffb 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -502,6 +502,7 @@
lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
#if HAVE_LLVM >= 0x0306
builder.setMCJITMemoryManager(std::unique_ptr<RTDyldMemoryManager>(MM));
+ MM = NULL;
#else
builder.setMCJITMemoryManager(MM);
#endif
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150304/b3490fef/attachment-0001.html>
More information about the mesa-dev
mailing list