Mesa (master): llvmpipe: Do not dispose the execution engine.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Oct 12 02:31:20 PDT 2010


Module: Mesa
Branch: master
Commit: 4cb3b4ced80891ce8760cf5a0c06db9dbee36b76
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4cb3b4ced80891ce8760cf5a0c06db9dbee36b76

Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Oct 11 19:45:52 2010 +0100

llvmpipe: Do not dispose the execution engine.

The engine is a global owned by gallivm module.

---

 src/gallium/drivers/llvmpipe/lp_jit.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_jit.c b/src/gallium/drivers/llvmpipe/lp_jit.c
index 04b12de..e09ec50 100644
--- a/src/gallium/drivers/llvmpipe/lp_jit.c
+++ b/src/gallium/drivers/llvmpipe/lp_jit.c
@@ -162,9 +162,6 @@ lp_jit_init_globals(struct llvmpipe_screen *screen)
 void
 lp_jit_screen_cleanup(struct llvmpipe_screen *screen)
 {
-   if(screen->engine)
-      LLVMDisposeExecutionEngine(screen->engine);
-
    if(screen->pass)
       LLVMDisposePassManager(screen->pass);
 }



More information about the mesa-commit mailing list