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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: LLVMJIT: Free created module in LLVM < 5.
Date: 2018-03-26 23:09:42
Message-ID: E1f0bFG-0000qT-M8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Teodor Sigaev 2018-03-27 12:43:38 pgsql: Add predicate locking for GiST
Previous Message Andres Freund 2018-03-26 20:18:01 pgsql: JIT tuple deforming in LLVM JIT provider.