Fix memcheck failure in TestSnapshotSaveTruncation.