pgsql: LLVMJIT: Free created module in LLVM < 5.

Started by Andres Freundover 8 years ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

LLVMJIT: Free created module in LLVM < 5.

Due to the differing APIs between versions, I forgot to deallocate the
generated module in older LLVM versions, leading to a memory leak.

Author: Andres Freund

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/071371bc43c89d6db923a7f858933f655b150655

Modified Files
--------------
src/backend/jit/llvm/llvmjit.c | 1 +
1 file changed, 1 insertion(+)