ENG-5497 fix valgrind.
ENG-5497 valgrind.
Merge pull request #962 from VoltDB/ENG-5497

Eng 5497