llvmpipe: Do not dispose the execution engine.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 11 Oct 2010 18:45:52 +0000 (19:45 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 12 Oct 2010 07:36:51 +0000 (08:36 +0100)
The engine is a global owned by gallivm module.

src/gallium/drivers/llvmpipe/lp_jit.c

index 04b12dedccf015e855530838fdef951b09de1aef..e09ec504ab705097d6ce805e3fb1e5627c1ea702 100644 (file)
@@ -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);
 }