From: José Fonseca Date: Mon, 11 Oct 2010 18:45:52 +0000 (+0100) Subject: llvmpipe: Do not dispose the execution engine. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4cb3b4ced80891ce8760cf5a0c06db9dbee36b76;p=mesa.git llvmpipe: Do not dispose the execution engine. The engine is a global owned by gallivm module. --- diff --git a/src/gallium/drivers/llvmpipe/lp_jit.c b/src/gallium/drivers/llvmpipe/lp_jit.c index 04b12dedccf..e09ec504ab7 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); }