Fix broken logic in logical_heap_rewrite_flush_mappings().
It's blatantly obvious that commit 4d0d607a454ee832574afd52a3c515099cc85eb3
wasn't tested. The leak's real enough, though.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/c6a4ace5bf839b2480e8bb4c36bd3ec850c55c65
Modified Files
--------------
src/backend/access/heap/rewriteheap.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)