mirror of
https://github.com/postgres/postgres.git
synced 2026-02-28 12:20:43 -05:00
Fix typo in 2a8a0067.
Builds configured with Valgrind but without assertions would fail due to
a typo in the recent change. This should be included when back-patching
2a8a0067 into v17.
This commit is contained in:
parent
9cdc21b533
commit
2509b857cc
1 changed files with 2 additions and 2 deletions
|
|
@ -789,8 +789,8 @@ read_stream_next_buffer(ReadStream *stream, void **per_buffer_data)
|
|||
wipe_mem(per_buffer_data, stream->per_buffer_data_size);
|
||||
#elif defined(USE_VALGRIND)
|
||||
/* Tell it ourselves. */
|
||||
VALGRIND_MAKE_MEM_NO_ACCESS(per_buffer_data,
|
||||
stream->per_buffer_data_size);
|
||||
VALGRIND_MAKE_MEM_NOACCESS(per_buffer_data,
|
||||
stream->per_buffer_data_size);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue