model-writtenrun 4705 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Heikki Linnakangas reported that llvm_release_context() entered the fatal-on-OOM section without leaving it and supplied a patch adding the missing call in #1.
- Heikki noted in #1 that he spotted the omission while investigating another issue, but believed the two were unrelated.
- Daniel Gustafsson questioned the precise leak mechanism but approved the cleanup and reported successful make check testing with jit_above_cost set to zero in #2.
- Heikki committed the patch unchanged as 4f4d73466d, explaining that the unbalanced counter could cause C++ allocation failures to produce PostgreSQL FATAL errors instead of C++ exceptions.
- Heikki confirmed in #3 that the fix had been pushed to all live branches, completing the thread's work.