Fix bug in generation.c's valgrind support.
This doesn't look like the last such bug, but it's one that the
test_decoding regression test is tripping over. Per buildfarm.
Tomas Vondra
Discussion: https://postgr.es/m/
c903f275-2150-fa52-64bf-
dca7b53ebf8d@fuzzy.cz