pgsql: LLVMJIT: Free created module in LLVM < 5. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: LLVMJIT: Free created module in LLVM < 5.
Date
Msg-id E1f0bFG-0000qT-M8@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(+)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Correct some typos in the new JIT code.
Next
From: Teodor Sigaev
Date:
Subject: pgsql: Add predicate locking for GiST