model-writtenrun 2726 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Oleg Tselebrovskiy reported a 400-byte leak when pg_dump dumps functions with TRANSFORMs, discovered through static analysis and confirmed with a Valgrind reproducer in #1.
- In #1, Oleg supplied two alternative fixes: explicitly free the allocated typeids array, also switching palloc to pg_malloc for consistency, or replace the allocation with a fixed-size local array.
- Daniel Gustafsson chose explicit freeing in #2, explaining that even this small allocation should be released when no longer needed.
- 0e033f5b6d landed the explicit-free alternative from #1 with only an added blank line; the fixed-size local array alternative was not selected.
- The thread ends with Daniel's commitment to apply the fix in #2, and the subsequent 0e033f5b6d resolves the reported leak.